I've been working a lot with Cradle, the couchDB client. However, I have a document filled with key-value pairs, and I'm trying to delete a specific row in there.
In the documentation, I cannot find a way to do deletion that doesn't include deleting the entire document or updating it with a null value. Can anyone point me in the right direction? I feel this is most likely a very simple issue that lots of people run into.
In CouchDB, there is no support for partial document updates (support for this is discussed every once in a while, but since there is no accepted way to patch JSON, it never gets very far), so you have to update the entire document with a copy where the unwanted key/value pair is removed.