Couchbase Questions: N1QL

Have a Question? Get it answered by our community

jonathonl's picture
Asked 5 months 3 weeks ago
Latest activity 5 months 3 weeks 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 3 weeks ago
Latest activity 5 months 3 weeks 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...

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

How does N1QL handle the stale parameter?

1. Does N1QL use "stale=ok" for queries that use created indexes?

2. Is there an issue with stale documents for buckets that have no indexes created on them? In other words, if a primary index is not created and "SELECT * FROM default" is called, is it possible for the result from the...

asdf9999's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

N1QL and Java SDK

newbie question: is it possible to use Java SDK and N1QL ?

asdf9999's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

n1ql query views

Hi,

I'm just getting started with Couchbase and I discovered N1QL which makes things easy ..

Is it possible to query "views" using N1QL ?

Thanks,

chewBM's picture
Asked 6 months 1 week ago
Latest activity 2 months 4 weeks ago

n1ql: How works?..is a total change in the "couchbase way"??

Hi, I'm curious about n1ql and how it fits inside couchbase, my first thought was it used views from behind and was only a sugar for the "tradicional couchbase way" but it's hasn't totally sense because how couchbase would know how many views must create?..for example

SELECT name FROM...

erwink's picture
Asked 6 months 2 weeks ago
Latest activity 1 month 6 days ago

N1QL java sdk api

Hello All,

Is it possible to use N1QL from Couchbase JAVA sdk?
Your directions would appreciated.

Thanks,
Erwin

dvohra's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Bug:NIQL COUNT() function returns 1

The Couchbase bucket has several documents but COUNT() function returns count as 1.

erwink's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Queries against document keys

Hello Masters,

Is it possible to run N1QL queries against document ids (keys).
For example I'd like to retrieve all the keys that own specific prefix.

Thanks in advance,
Erwin

Feras's picture
Asked 7 months 2 weeks ago
Latest activity 7 months 1 week ago

Is N1QL available for Coachbase lite?

I'm using Couachbase lite in iOS and I wonder if I can use N1QL with it? do I need to upgrade or its not available yet?

Pages