apache / nano

Nano is now part of Apache CouchDB. Repo moved to https://GitHub.com/apache/couchdb-nano

Home Page:https://github.com/apache/couchdb-nano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for _find (mango queries)

chrisfosterelli opened this issue · comments

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.

Something like this might work:

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

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