Questions tagged [couchdb-mango]

Simplified query language interface for Apache CouchDB, inspired by MongoDB, and made available on Cloudant service first, and then on Apache CouchDB 2.0.

"Mango" is a MongoDB inspired query language interface for Apache CouchDB. It is designed to provide users a more natural conversion to Apache CouchDB.

It is worth noting that it enables the creation of indexes (a.k.a. 'views'), without having to implement explicitly a map and a reduce functions.

The endpoint added is for the HTTP-URI pattern /dbname/_query and has the following characteristics:

  • the only HTTP method supported is POST,
  • the request Content-Type must be application/json,
  • the response is a single JSON object or array that matches to the single command or list of commands that exist in the request.

Reference: https://github.com/cloudant/mango

92 questions
0
votes
1 answer

Using $or selector, There is no index available for this selector

I'd like to retrieve document with _id of 1 OR document with value === 13 AND anotherValue === 56 Error: There is no index available for this selector. This is my query: { "selector": { "$or": [ { "_id": "1" …
bobbyrne01
  • 6,295
  • 19
  • 80
  • 150
-1
votes
1 answer

Is possible to sort a view in CouchDB?

I'm new in CouchDB and I'm wondering if is possible and how is possible to sort a view in CouchDB. PS: I'm using CouchDB 3.0.0
user7494712
1 2 3 4 5 6
7