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

CBL 2.6.0 Performance: saving 11,000 MutableDocuments takes 20 seconds; what...

@Andy_Huntsman wrote: TL;DR What is the recipe or best practice to save a large collection of MutableDocuments to a database? Back Story Our code makes an API call to fetch about 11,000 model classes...

View Article


Problems building Couchbase-lite-C w/ CMake on Windows

@victorberger wrote: Hello, I am facing problems building Couchbase-lite-C with CMake on Windows. I have also noticed that the LiteCore submodule used in the latest commit of Couchbase-lite-C does not...

View Article


Couchbase syncgateway traefik

@Gjek wrote: Hello I am trying to do the following with Traefik 1.7. https://docs.couchbase.com/sync-gateway/2.1/load-balancer.html The https work. I can’t get the websocke to work. @simon.murray...

View Article

Image may be NSFW.
Clik here to view.

Cannot get expression with "IN" operator to work in .Net Lite query

@jda wrote: I have a data structure where I need to get the result of a query like this (in N1QL): SELECT * FROM data WHERE type='ObservationType' AND "2" in locationtypes In .Net lite I have this...

View Article

Replicate IFMISSINGORNULL in QueryBuilder

@blimkemann wrote: How can I reproduce the ORDER BY clause of the following query using QueryBuilder in Coucbase Lite (c#)? Also, is it possible to do a join with the double pipe (||) in QueryBuilder?...

View Article


I can't seem to find any information on using LINQ with Couchbase.Lite

@Asusralis wrote: I see posts about LINQ for the server database and a post in '16 using AsQueryable in 1.4, but I can’t seem to find any information about this method. Was LINQ removed from Lite? I’m...

View Article

How to detect mobile device disconnected from sync server

@Eldhose_Issac wrote: Hi I am new to couch database. In the project, we run the couch sync gateway in a windows machine (local only) and have ios mobile app. I require to detect when the ios app goes...

View Article

SG log with empty channels: [INF] CRUD: Doc "doc_id / "rev_id(?)" in channels...

@benjamin_glatzeder wrote: I’m trying to understand the following logs. Here’s an example: [INF] CRUD: Doc "doc_id / "rev_id(?)" in channels "{}" Does this mean this document has no channel? My data...

View Article


SG: Reload SSL certificates

@giles wrote: Hi, Our SSL certificates need to be updated every three months. Is it possible (via the REST API) to tell Sync Gateway to reload the certificates without restarting the service? I would...

View Article


Issue when publishing to Apple AppStore

@jda wrote: I have received feedback from Apple where they reject my app for testing. The reason I put it here is that it seems to have to do with sockets/websockets - that I know Couchbase use for...

View Article

Recommended approach for handling sync when Couchbase server has millions of...

@theunsa wrote: Hi My Couchbase (CB) model represents multiple companies, each with multiple users. The companies typically have 10k-100k documents each. All docs are in one bucket. I have both a web...

View Article

Noob Android Q: I can't create a DB

@DougWhitehead wrote: Its hard to get started. I am using “implementation ‘com.couchbase.lite:couchbase-lite-android:2.6.0’” I am supposed to evaluate this tech, but I can’t seem to get to square one…...

View Article

Thoughts about CBL and large datasets

@DougWhitehead wrote: I have a line of thinking that I’d like to put out there to solicit comment or feedback on things I may have overlooked/misunderstood. I have a CB server with a Gateway and a...

View Article


Is there any way to search in sync-gateway in walrus mode?

@Eldhose_Issac wrote: This question is out of curiosity. I know walrus mode is only for testing and development, I configured testing teams sync server in walrus mode and without any couch server now...

View Article

Noob Q2: How to delete CBL database?

@DougWhitehead wrote: If I have a CBL db already synced on the device, how do I delete that so that I can start the sync over? One might need to get different data (new user? new locale? etc.). I...

View Article


Index on existing database

@jasonwhetton wrote: Hi, I get an exception when trying to add an index to an existing couchbase lite database - with a File IO error. Is this normal? Is it only possible to create indexes on new...

View Article

CB Lite 2.x Inner Join: Better performace joinin on docId or property?

@paolo.morgano wrote: I’m trying to evaluate performance of an inner join between documents of a CB Lite 2.x db. Which is the better choice for joining documents? DocA has a property with DocB id DocA...

View Article


How to do Order by using SUBSTR in Couchbase Lite iOS 2.6.3?

@itssrinadh wrote: Hi There, I have a following a document list and I have a following N1QL query and I need to build an equivalent Query Builder in iOS but I don’t know how to do with ORDER By with...

View Article

SG-Replicate and sequence numbers

@Jonathan_G wrote: I have 2 sync gateways in 2 different data centres - SG1 and SG2. Ideally I want an active \ active sync setup where any client can connect to either SG at any time. If I use...

View Article

Getting information for rejected documents in push process

@glenn wrote: Hi, Is there a way to learn whether a document is rejected by sync gateway in cb lite side? Let’s say we have a sync gw function which validates the json fields and the data that pushed...

View Article
Browsing all 1117 articles
Browse latest View live