merge #6

michael opened this Issue Dec 15, 2010 · 2 comments


None yet

2 participants

michael commented Dec 15, 2010

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.

michael commented Dec 15, 2010

Sure thing! Just wanted to bring it up. :)

Actually, CouchClient's small footprint is what I like about it.

-- Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment