pouchdb / upsert

PouchDB plugin for upsert() and putIfNotExists() functions
Apache License 2.0
149 stars 25 forks source link

Fold into main pouchdb library #63

Open jpike88 opened 5 years ago

jpike88 commented 5 years ago

I noticed that pouchdb-find got folded into the main library, why not this one too? It's very useful

indo-dev-0 commented 5 years ago

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.

erezsh commented 4 years ago

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.