node-couchdb
node-couchdb copied to clipboard
Batch Request For Creating Documents
According to CouchDB docs, they allow batch requests for insertion. Would it be possible to add support for it?
Sure, do these request exist in CouchDB@2?
http://docs.couchdb.org/en/2.0.0/api/database/bulk-api.html#db-bulk-docs
Seems like I could've provided a lower level interface by renaming "_requestWrapped" to smth public: https://github.com/1999/node-couchdb/blob/master/lib/node-couchdb.js#L319.
Because CouchDB@2 API differs from CouchDB@1. Or...?
Could this still happen?
Bulk insertion is a very important feature for serious apps
PRs are welcome here. Unfortunately, I don't have enough time to support this library and also I'm not working with CouchDB anymore.