Deleting a Property


How do i remove a property from a document in Couchbase Mobile?


In Couchbase Lite 2.0 , there is a remove() function that you can invoke to remove a specific property based on key. In CBL 1.x, you have the putProperties function where you would provide it with the updated map/dictionary corresponding to new property set (which should exclude the property ).