Skip to main content
The DatabaseWriter service is used to insert, modify, and delete documents in the database.

Methods

Insert

Insert a new document.

Patch

Shallow merge the provided object with the existing document. New fields are added. Existing fields are overwritten. Optional fields set to undefined are unset.

Replace

Replace the entire document.

Delete

Delete the document with the given ID.