Couchbase Questions: Couchbase Mobile

Have a Question? Get it answered by our community

chancharles's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

Partial Sync. Within A Channel

Hi, is it possible to synchronize a subset of documents within a channel?

For example, if I am creating a newsgroup like application and would like to synchronize the last 100 articles of each user-subscribed newsgroup, how would I do that?

Thanks

flo_vonderuni's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

Couchbase equivalent of a complex WHERE clause?

I’m trying to get an app working with Couchbase Lite where the user can heavily filter the dataset that I’m syncing through the Sync Gateway.

There are three different kinds of meta information (categories) on each entry in the DB:

* Language (around 20 languages),
*...

Shree Madhu's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

CBLite, Couchbase server and sync gateway

Hi,

For an enterprise android application, we had used SQLite architecture so far. This application collects specific data and uploads into the server. We were handling sync by ourselves. Now, as we looked into couchdb, we are interested in knowing how it works with respect to our...

amitkhanna's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Mobile Couchbase Lite

Hi,
I come from a enterprise world where I led a mobile native complete offline application. The mobile app had SQLite database and we had a mobile middleware in between.
So our stack was client with offline database, mobile middleware, backend enterprise app server with RDBMS data...

yuzkan's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Invalid top-level key '_removed' in document to be inserted

Hello,

With couchbase-lite for android on pull I'm getting an error " Invalid top-level key '_removed' in document to be inserted".
And everytime I start a new pull I keep getting this error for the same revision ID.

Is that a bug with couchbase-lite for android or should I...

AnupVeerapur's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Insert to CB Lite

Hi Team,

I have a json data. Can you pls tel me a simple way how to insert it into couchbase lite db and fetch from it. A simple example would be a lot of help. I am using phonegap and i wanted the help mostly in javascript.

Please let me know, this would save a lot of time....

flo_vonderuni's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Sync with Couchbase Lite through Couchbase Sync Gateway doesn’t see any documents (Channel issue?)

[The same question but with better formatting is available here: http://stackoverflow.com/questions/23249293/sync-with-couchbase-lite-thr... ]

I’m...

Evengers's picture
Asked 5 months 2 days ago
Latest activity 6 days 1 hour ago

Wrong version of ios-sim? (In case others are having tutorial problem)

The tutorial here: http://docs.couchbase.com/couchbase-lite/cbl-phonegap/

Says "you have the latest released version of each tool."

I and others got it running with iOS-sim 1.8 but not the latest 1.9.

...

bmhardy's picture
Asked 5 months 3 days ago

How to get name of logged in user from cookie

Hi

I authenticated with persona using the _persona endpoint. I was able to retrieve the cookie sent back on the call. It had a named entry syncGatewaySession and an alpha numerical value. Can I get the name of the logged in user from that cookie.

Could I access that cookie after...

bmhardy's picture
Asked 5 months 4 days ago
Latest activity 5 days 23 hours ago

requireUser not working for me.

I authenticate using persona and I see a message in the sync gateway logs that confirms I’m authenticated as user bsg2@gmx.com

When my sync function reads like this (with requireUser commented out):
"sync": `function(doc, oldDoc) {...

Pages