Removing a key from a CBLDocument

We have a need in our application to be able to remove a key that was previously set. Perhaps it’s just late on a Friday, but I’ve been perusing the docs and I don’t see how to do that.

Any help?

A document’s contents are represented as an NSDictionary. Just remove the key from that. For example:

[doc update: ^BOOL(CBLUnsavedRevision *rev) {
    [ removeObjectForKey: @"obsoletekey"];
    return YES;
} error: &error];

Oh great. Thanks so much.

And thanks so much for all your very useful (and accurate) help on the Mac Developer emails lists. I’ve learned a bunch.