Couchbase Questions: query

Have a Question? Get it answered by our community

jasonmartens's picture
Asked 1 month 6 days 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 3 months 2 weeks ago
Latest activity 3 months 1 week 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 3 months 3 weeks ago
Latest activity 1 month 3 weeks 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 6 months 14 hours ago
Latest activity 6 months 7 hours 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 8 months 2 weeks ago
Latest activity 8 months 2 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 8 months 3 weeks ago
Latest activity 8 months 3 weeks 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 10 months 1 week ago
Latest activity 10 months 1 week ago

What is N1QL?

What does N1QL stand for?