Closed benjamine closed 6 years ago
It would be great to have bulk update capabilities (like in CouchDB), ie:
$ DB="http://127.0.0.1:5984/tstconf" $ curl -d '{"docs":[{"key":"baz","name":"bazzel"},{"key":"bar","name":"barry"}, {"key":"zap","_deleted":true}]}' -X POST "$DB/_bulk_docs"
Properties on each document can indicate if it should be inserted, updated or deleted. docs could be grouped by collection, too.
The CouchDB bulk update could be used as model: http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API
Would love to see this as a feature...
It would be great to have bulk update capabilities (like in CouchDB), ie:
Properties on each document can indicate if it should be inserted, updated or deleted. docs could be grouped by collection, too.
The CouchDB bulk update could be used as model: http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API