CB Lite Java - Update Documents

You can update documents stored in Couchbase Lite by fetching the document from the database, converting it explicitly into a mutable document, editing the properties of the document and then saving it back in the database.

See more at the CB Lite Java SDK documentation.

To run this example, click the button in the top right corner of the code editor.

Code Editor