Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Support for _find (mango queries) #329

Open
chrisfosterelli opened this issue May 18, 2016 · 2 comments
Open

Support for _find (mango queries) #329

chrisfosterelli opened this issue May 18, 2016 · 2 comments

Comments

@chrisfosterelli
Copy link

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
Copy link
Author

Something like this might work:

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

@carlosduclos
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants