couch-client
couch-client copied to clipboard
merge
Hey :)
Would you be interested in having a CouchClient#merge (or #update) method that requires an _id and just updates the attributes provided, while leaving others untouched?
This would make obsolete the task of getting the previous document first in order to merge the changes into the object that's being passed to #save.
Would this make sense?
I'd really like to keep the api as simple as possible. It shouldn't be hard to add your own abstractions on top of it if you want.
Sure thing! Just wanted to bring it up. :)
Actually, CouchClient's small footprint is what I like about it.
-- Michael