CBL 1.4 to 2.x migration
We are starting the ground work to migrate our iPad app from CBL v1.4 to v2.x. It’s an objective-c app. Is there any sample projects for v2.x in objective-c? Is there a migration guide to moving to...
View ArticlePush replication doesn't push updatetd document
Hi, my Android app use replication type push, to sync gateway with couchbase server. When I create document in database, the replication push the document successfully to The server. But when I update...
View ArticleSort on specific nested array object value
Hello, I’m using couchbase lite for android 2.8.5 and attempting to sort based on a specific value in an array. My JSON is as follows: { "name": "aName", "infoArray": [ { "key": "1", "nestedObject": {...
View ArticleUpdating locally created document with document from the CB Server
Hi, When creating a local document on a device with a known ID that will eventually be created on the CB Server (after some business logic and API results), should the newly created document on the CB...
View ArticleJoin three documents
The following documents are synced down from sync gateway: { "type": "order", userId: 1, productId: 2, groupId 1} { "type": "product", productId: 2, productName: 'product 2 name'} { "type: "group",...
View ArticleI want my Android app to replicate constantly in the background. Should I use...
Can you give some guidelines on what is the recommended or the best way to do this? I also just read about Sync Adapters, but Google said Work Manager is more recommended. 2 posts - 2 participants...
View ArticleUnNest in Couchbase lite java
Is unnest is available in couchbase lite ? If not what is the time line? Or is there any other way to use it. 1 post - 1 participant Read full topic
View ArticleBuild Couchbase Lit Net W/ Visual Studio Windows
I’m trying to build Couchbase.Lite-Net using Visual Studio 2019 (3), but I keep running in to dependency issues. As noted in readme, the Android support library (and I would assume the iOS support...
View ArticleIs there an ETA for 3.0?
I’m waiting for the ability to use N1QL queries. 1 post - 1 participant Read full topic
View ArticleCount documents with specific name
I have bunch of documents in a single database. I’d like to count only ones that match name starting with “abc_”. How to do this efficiently? Need sorta analogy of “count(*)” query. I’m aware of...
View ArticleDatabase Close method should also remove Replicator Change Listeners
The Database Close method now automatically handles stopping open replicators, closing peer-to-peer websocket listener and removing observers for live queries. Looking into the code, it does not seem...
View ArticleN1QL Deleted Records reappearing again in couchbase server
Hello, We are using couchbase database along with syncgateway. Whenever I am deleting records via N1QL in couchbase server they get deleted. But after few days they get added back to the couchbase...
View ArticleIs it Kotlin issue or i'm missing something?
I have imported my db in several structures using cblite-tool… import ../db/flickr/ one way of building the db was using the couchbase example on their android-java tutorial...
View ArticleIs there is documentation on adding an array
is there a documentation on adding an array into a document or database using Kotlin/Java code? the array I have has keys { “id”:“51333156717”," owner":“97978797@N03”," secret":“82f0fb71aa”,"...
View ArticleIs it possible to have a convenience class to generate data classes from...
Basically I want an easy way to do this: Let’s say I have a data class that corresponds to a Couchbase document e.g.: @Serializable data class DataClassDerivedFromCouchbaseDocument(...
View ArticleAPI to read non-json documents in couchbase lite
So, the blog here explains how to create non json documents on the server side. After it gets sync’ed to couchbase lite, how can the non-json document be read? The API public Document...
View ArticleCollections in CouchbaseLite Swift SDK
Couchbase 7.0 has introduced a new feature called Scopes & Collections to organise or categorise documents within a bucket. Is there an equivalent feature in the CouchbaseLite Swift SDK? I am...
View ArticleDocument revision id is lesser than sync revision id
Hello, We are planning to use Couchbase Enterprise for Automatic conflict resolution. We have set-up Couchbase server, Sync gateway and Java Mobile app as suggested in mobile-travel-sample. The...
View ArticlePull replication is not resuming after reconnecting to a WiFi network
I’m experiencing this consistent issue where when the device disconnects from a network and connects back again the replicator (continuous) is not resuming back replication. I’ve tried this in two...
View ArticleHow do I share couchbaselite db in ios
I tried using app group but it’s giving error saying “ready only file system” How do I set it to read write. I saw old post related to app groups but it seems to be not working. Can you also help me...
View Article