I would like to request a feature which would allow clients to provide the
revId during PUT and bulkDocs. Something like:
db.put({
_id,
_rev,
_hash // _revId, _uuid, _something
}).then(({ rev }) => assert(rev === _hash))
That way the client doesn’t have to directly wait for the reply before
preparing a next (optimistic) update.
Best Regards,
Robert Nagy
Robert Nagy
Mail: [email protected] <mailto:[email protected]> | Phone: +46
(0)735441639 | Web: Boffins Technologies AB <http://www.boffins.se/>
Boffins Technologies
Södervägen 12
232 52 Åkarp
Sweden