I know how to update a document in CouchDB, but when I update a doc, the fields that I didn't specify for the update gets deleted. How do I restrict the same. For instance, my CouchDB doc consists of fields: Name,Age,Email and I would like to update only the email field of this doc. So I just pass in the email field, it,s value, the doc id and its corresponding rev. But when I do such an update, my doc now will consist of only the E-mail. How do I restrict this., i.e, only the email id gets updated keeping the remaining fields and it's value intact.
I am using jquery.couch.js