Couchbase Questions: query

Have a Question? Get it answered by our community

casmeiron's picture
Asked 1 month 2 weeks ago
Latest activity 6 days 8 hours ago

NodeJS couchbase@2.0.0-beta error with view query


Im trying to execute a query using couchbase@2.0.0-beta for NODEJS and the server is 3.0 beta. The follow error occurs whatever view query I try:

Floating point exception: 8

No stacktraces whatsoever, no more information, nothing!

The query invocation is quite...

acpadhi's picture
Asked 2 months 3 days ago

Best way to get results - Sort by 2 columns, one in ascending and other in descending

Data structure :
"id": "2919220",
"country_code": "US",
"ascii_city_name": "downey",
"city_name": "Downey",
"region": "CA",
"population": "111862",
"latitude": "33.9400000",
"longitude": "-118.1316667",

jasonmartens's picture
Asked 3 months 2 weeks ago

View ordering with range

I would like to create a view that is returned in a specific order (for example, by the doc id or a datetime field), but can be filtered by a key range. For example, suppose I had a lot of documents like this:

stclaird's picture
Asked 6 months 1 day ago
Latest activity 5 months 3 weeks ago

Simple Search Question


I am in the process of getting to grips with couchbase and python but I have hit a question that I would like some help with:

I want to check for the existance of a document element/value in couchbase before I decide to add a new document.

So for example in my case I...

xuxj's picture
Asked 6 months 3 days ago
Latest activity 4 months 1 week ago

Using Java to Perform a Multi-Key Get on a Couchbase View


how to query find by name and can pass parameter,
such as
public List findByName(String name){


my english is very pool,i...

dawheeler's picture
Asked 8 months 1 week ago
Latest activity 8 months 1 week ago

Query without View

I would like to ask that why does the Couchbase .NET client require a view to make a query with startkey and endkey? It would be really great if we could get a "Get" method with startkey-endkey parameters.

It might be a bit awkward question, but we can query like this from the Couchbase...

guatszap's picture
Asked 10 months 4 weeks ago
Latest activity 10 months 3 weeks ago

Help doing queries with N1QL in CB 2.2 EE

I have been created a document in the server, but i don´t know how to do querys in the views, it's my first time using couchbase. HELP!! .....I'm doing an investigation about UnQL.

this is the document i've created

"Hamburguesa": {
"ingrediente": [

MikeOliverAZ's picture
Asked 11 months 6 days ago
Latest activity 11 months 6 days ago

Query Example fetching multiple documents matching a attribute value

I have a java application and want to store some pojos in Couchbase and retrieve all the pojos of a certain class by one of the fields in the pojo.

The java class is something like this:

anil's picture
Asked 1 year 2 weeks ago
Latest activity 1 year 2 weeks ago

What is N1QL?

What does N1QL stand for?