Quantcast
Channel: Mobile - Couchbase Forums
Browsing all 1116 articles
Browse latest View live

Use QueryBuilder to query on a property that is inside a nested JSON

[Swift] Hi. I am new to Couchbase Lite so might be asking a really basic question. I have a requirement where I need to use the QueryBuilder to fetch the data at a property which is nested inside...

View Article


Announcing: Kotlin Multiplatform library for Couchbase Lite

I just released the first public version of my open source Kotlin Multiplatform library for Couchbase Lite: Kotbase. Write your database logic once and share between native apps on Android, JVM, iOS,...

View Article


Create C# Winform Json Data Listview

I want to get Json data from Couchbase lite for the current test and express it in listview. private void button2_Click(object sender, EventArgs e) { MessageBox.Show("Click"); var database = new...

View Article

CouchBaseLite 3.1.1 : I have set the logging level to None for a domain, but...

Hi I have set the logging level of DATABASE domain to NONE (see below code). Java: this.database.log.getConsole().setDomains(LogDomain.DATABASE);...

View Article

Facing a crash when using Collection.setDocumentExpiration() over multiple...

My app is crashing when using Collection.setDocumentExpiration() in Couchbase Lite 3.1 private fun Collection.setDocumentExpirationCommon(id: String) { this.setDocumentExpiration( id,...

View Article


Couchbaselite swift (ios) upsert is too slow

I’m adding aprox 1 Million records in database. I’m doing upsert (code snippet below). It is processing 80-100 records per second and this number reduces as data grows in DB. SDK version pod...

View Article

Can I fetch other documents from the sync function?

I feel a little bit silly asking this question because the docs don’t discuss it at all, so I’m afraid I’m missing something big. I have a few document types that refer to each other. When syncing one...

View Article

Couchbase Lite support for .NET 6.0/7.0/8.0

Hi, We are using Couchbase.Lite.Enterprise with our Xamarin.Forms application, version in use - 3.0.12 We are planning to migrate to .NET MAUI. In your documentation, I do not see that even the latest...

View Article


Image may be NSFW.
Clik here to view.

Kubernetes health probes in sync-gateway

Hi, We are running sg 2.8.3 (will upgrade to 3.1 soon) on kubernetes REHL8. I wounder if sg implements the usual kubernetes health probes (liveness, readiness…etc) mentioned here: Kubernetes Configure...

View Article


Sync Gateway _resync does not stop

We have a Couchbase bucket with about 750k documents. I updated the sync function and ran _resync on Sync Gateway. It showed that it processed twice as many documents so I stopped it and restarted...

View Article

How to save a document in one collection

I’m new to CB, I create a DB and saved few doc’s in the default collection of the database using this function fun addStudent(studentName: String) { // Create a document val stdDocument =...

View Article

Hi, we are facing the following issues. Could you please help us resolve...

OS Version: Android 13 (TP1A.220624.014.T575XXU4EWBA) Report Version: 104 Exception Type: Unknown (SIGSEGV) Application Specific Information: Segfault Thread 0 Crashed: 0 split_config.arm64_v8a.apk...

View Article

Hi, we are facing the following issues. Could you please help us to resolve

OS Version: Android 13 (TP1A.220624.014.T575XXU6EWH4) Report Version: 104 Exception Type: Unknown (SIGSEGV) Application Specific Information: Segfault Thread 0 Crashed: 0 split_config.arm64_v8a.apk...

View Article


How clear/flush all docs and collections in db?

I’m trying Couchbase-lite for android and exploring the Collections, used defaultcollection to save the docs. I want to know is there any easier way to flush or delete all docs in the collection other...

View Article

There are no reference for JOIN quries after introduction of collectios

Hello, how does the JOIN queries work with collection can create a JOIN query with two collections? I saw a example of JOIN in docs which is very old 2018 where they dont have collections 2 posts - 2...

View Article


Couchbase with Sync Gateway

We’ve encountered a synchronisation issue in our edge-device application that’s impacting data consistency. Our approach involves aggregating data at the day level, storing it in a single document....

View Article

Basic authentification for sync gateway 3.1 configuration

hello, in my new architecture, i have a sync gateway 3.1.2. I have configure 2 databases. I use the basic authentification from my couchBase Lite Client in 2.8.6 version. But I have 401 error...

View Article


How to upgrade from couchbase lite 1.2 to 3.1?

In one of our apps we have a data storage feature that runs on Couchbase Lite 1.2, not replicated to any server, local only. It’s been dormant for a while but we finally want to upgrade the Couchbase...

View Article

How to: Bootstrap configuration user

Hi all, I’m currently using a containerized instance of the SG version 3.1.2. While setting up the bootstrap and some database, i figured out that I cannot add “username” and “password” via Admin REST...

View Article

Couchbase Lite watchOS and tvOS support

I notice on this page it mentions Couchbase Lite supports both watchOS and tvOS. But the CocoaPods podspec only includes ios and osx under platforms. Is it true the Objective-C and a Swift frameworks...

View Article
Browsing all 1116 articles
Browse latest View live