Couchbase Questions: query

Have a Question? Get it answered by our community

casmeiron's picture
Asked 1 month 5 days ago

NodeJS couchbase@2.0.0-beta error with view query

Hi,

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 1 month 2 weeks 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 days ago

View ordering with range

Hello,
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 5 months 2 weeks ago
Latest activity 5 months 1 week ago

Simple Search Question

Hello

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 5 months 2 weeks ago
Latest activity 3 months 3 weeks ago

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

user1
{
"name":"name1",
"age":23
}
user1
{
"name":"name2",
"age":22
}

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 7 months 3 weeks ago
Latest activity 7 months 3 weeks 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 2 weeks ago
Latest activity 10 months 1 week 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 10 months 3 weeks ago
Latest activity 10 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:

public
...
anil's picture
Asked 1 year 4 days ago
Latest activity 1 year 4 days ago

What is N1QL?

What does N1QL stand for?