Open simonwjackson opened 6 years ago
short answer: no, because couchdb / pouchdb needs the revision number to manage a concurrency access for updates and deletes. You can pass through the data from the query (rev-field). Is that working in your scenario?
So, I would need to obtain the rev-number in one query, and use the obtained rev number in a separate mutation query?
Exactly thats the way to go.
thats too bad, that seems like it would cause alot of overhead when updating many documents.
there is a upsert plugin that doesn't seem to require a rev id, are they doing some magic behind the scenes?
im new to graphql, so maybe im missing something here
results in...
I'd like to upsert based on the ID and ignore the revision. Is this possible?