see https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-utils/src/upsert.js Seems they are not aligned...