I am trying to update bulk documents using nano couch package from npm (https://www.npmjs.com/package/nano) but sometimes due to different _rev for same document , couch is skipping the update for those documents . But in my case i want to update all the documents irrespective of _rev value
So i tried using new_edits: false
which will ignore _rev value and force update all the docs , but in my case couch is skipping all the docs if i use new_edits: false
it is not even updating single doc when i use that flag
below is my code snippet
await db.bulk({ docs: conf['docs'] , new_edits: false }).then(body => {
numberOfUpdates = body;
});
Is there any other way to update documents irrespective of _rev value using nano couch package