couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosduclos <...@git.apache.org>
Subject [GitHub] couchdb-nano issue #26: Support for _find (mango queries)
Date Fri, 17 Mar 2017 13:57:51 GMT
GitHub user carlosduclos opened an issue:

    https://github.com/apache/couchdb-nano/issues/26

    Support for _find (mango queries)

    [Original issue](https://github.com/dscape/nano/issues/329)
    
    __chrisfosterelli__
    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.
    
    __chirsfosterelli__
    Something like this might work:
    ```javascript
    const couch = nano(url)
    couch.use(db).mango.find({ ... }, (err, results) => {
      // do your thing
    })
    ```

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message