Removing documents

Over the lifespan of your database, you will need to remove documents.

Removing documents can be done using the remove() function.

The removal operation can optionally be supplied with a CAS value, ensuring that if the document has since been modified by another client instance, the removal operation will fail.