Reading the documentation (and playing around with the software), it looks like a PUT command will replace the entire existing document (create a new revision which includes only what was sent in PUT command). Is there a way to update part of a document?
For example, let's say a POST command creates a document with the following JSON object:
{"name" : "Chuck"}
Then a PUT command on the same document id adds:
{"lastname" : "Norris"}
Is there a way to get CouchDB to return the combination of the two revisions, as opposed to just the latest update? Otherwise any change to a document will require retrieving the complete document, and sending the complete (updated) document back.