apache / nano

Nano is now part of Apache CouchDB. Repo moved to https://GitHub.com/apache/couchdb-nano
https://github.com/apache/couchdb-nano
Other
1.13k stars 157 forks source link

Support for _find (mango queries) #329

Open chrisfosterelli opened 8 years ago

chrisfosterelli commented 8 years ago

CouchDB 2.0 has a _find route that accepts mango queries. We're using the developer preview of Couch 2 and it'd be great if nano could expose this route!

Currently we have to work around nano to use these.

chrisfosterelli commented 8 years ago

Something like this might work:

const couch = nano(url)
couch.use(db).mango.find({ ... }, (err, results) => {
  // do your thing
})
carlosduclos commented 7 years ago

This repository has been merged into apache/couchdb-nano, please continue the discussion here