nano icon indicating copy to clipboard operation
nano copied to clipboard

Support for _find (mango queries)

Open chrisfosterelli opened this issue 9 years ago • 2 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.

chrisfosterelli avatar May 18 '16 00:05 chrisfosterelli

Something like this might work:

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

chrisfosterelli avatar May 20 '16 23:05 chrisfosterelli

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

carlosduclos avatar Mar 17 '17 13:03 carlosduclos