Closed enst closed 8 years ago
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?)
http://docs.couchdb.org/en/stable/api/database/misc.html
Thanks,