upsert
upsert copied to clipboard
Fold into main pouchdb library
I noticed that pouchdb-find got folded into the main library, why not this one too? It's very useful
IMHO, it's a mistake that upsert wasn't included in CouchDB from the start! CouchDB and friends are essentially denormalized datastores and are often used to serve data produced from more traditional relational stores. At that point, you don't really care what the last version was, you just want to update it.
I agree. Also, the code isn't maintained anymore, but the javascript world keeps on moving. It's better if it got folded into pouchdb for many reasons.