janl commented on a change in pull request #47: Added find to Nano URL: https://github.com/apache/couchdb-nano/pull/47#discussion_r125458061
########## File path: lib/nano.js ########## @@ -458,6 +458,10 @@ module.exports = exports = nano = function dbScope(cfg) { return relax({db: dbName, doc: docName, qs: qs}, callback); } + + function findDoc(query, callback) { + return relax({ db: dbName, path: '_find', method: 'POST', body: query }, callback); Review comment: none of the other methods here do this at this point, I assume `relax()` does this already. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services