Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
saransh2012's picture
Asked 5 months 1 day ago
Latest activity 4 months 2 weeks ago

How is buffer stored?

I am trying to use crypt module of node.js to encrypt the password of the user. The function return me a buffer which I store in couchbase. I want to know how does the node SDK of couchbase store the buffers? When I am trying to verify if the passwords are correct or not, it doesn't match....

oberon's picture
Asked 5 months 1 day ago
Latest activity 5 months 15 hours ago

Couchbase Lite and Oauth

Hello,

I'm testing with Couchbase Lite (Android) and Sync Gateway. I'm trying Oauth authentication, but I'm not able to.

Is there any example that can take a look?

Thank you very much.

jarod's picture
Asked 5 months 2 days ago
Latest activity 5 months 3 hours ago

How to query Couchbase using GetView StartKey and stringKey contains "&"

Im having problems querying Couchbase when the Startkey or EndKey contains "&" or "'".
Im using .Net SDK 1.3.0

protected IView GetView(string name,
string startKey, string endKey,...

qingdou's picture
Asked 5 months 5 days ago
Latest activity 4 months 4 weeks ago

.NET SDK + Hammock

Hello,

I would like to use Hammock inside the .NET SDK, and I find a 'HammockHttpClient.cs' in the 'Couchbase.HttpClient' project. How should I use this HammockHttpClient.cs file in my project?

I tried to add '' to App.config. However I got the following error:

'The value of...

haakonl's picture
Asked 5 months 6 days ago
Latest activity 5 months 5 days ago

Out of Memory regularly on 2.0.1 and 2.1.1

Hi,

we have a cluster where the nodes fails regularly because of an out of memory crash. In the console, we find this message in the logs:

Control connection to memcached on 'ns_1@10.45.11.215' disconnected: {{badmatch,
{error,
closed}},
[{mc_client_binary,
...

bmhardy's picture
Asked 5 months 6 days ago
Latest activity 5 months 5 days ago

CHANGE_EVENT not received

Hello,

I have an iOS Titanium client built using the couchbaseLite titanium iOS module. Pull and Push replication is configured and working well in general, however I noticed a problem. If I update the same json document via the sync gateway using a REST PUT command two times in a row,...

kanundrum's picture
Asked 5 months 6 days ago
Latest activity 5 months 5 days ago

Is there a way to compact views in couchdb lite for Android

The data for my application continues to increase and I'm aware of the need to occasionally compact but I don't know how to do that via the couchbase lite. I noticed that there is a compact method on CouchDbConnector but that doesn't seem to have a positive effect.

jonathonl's picture
Asked 5 months 6 days ago
Latest activity 5 months 6 days ago

IS NOT VALUED does not seem to work.

Maybe I am not understanding this correctly, but I expected IS NOT VALUED to be the same as (IS MISSING OR IS NULL). This does not seem to be the case.

SELECT * FROM gamesim-sample WHERE loggedIn IS
...
jonathonl's picture
Asked 5 months 6 days ago
Latest activity 5 months 5 days ago

Ranges not used on primary index for Meta().id

It would be highly beneficial if startKey and endKey ranges were used for document ids when a primary key exists. Currently the input ranges are null.

All of my documents follow an ID structure of {DocType}::{uuid} (e.g., User::3b49dd18-1d56-478e-8ab1-fb38e31ce7e2). So a common query...

jonathonl's picture
Asked 5 months 6 days ago
Latest activity 5 months 6 days ago

Engine crashes when prepending LIKE wildcard on index

I couldn't find a n1ql project at couchbase.com/issues, so I am posting this here.

Like expressions starting with a wildcard will crash cbq-engine when used on indexed field . My guess is that it's trying to use startKey and endKey on the view, which can only work if the wildcard is at...

Pages