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

Does nano support purge?

enst opened this issue · comments

No, nano does not have an endpoint to purge. But you can use

nano.request({
  db: 'alice',
  path: '_purge',
  method: 'post',
  body: {
    'mydocid': ['rev-one', 'rev-two']
})

Feel free to send a PR, but make sure it goes to the version apache is keeping track of (here?)