Open chrisfosterelli opened 8 years ago
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
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.