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 beapplication/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