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. Fields set to undefined are removed.

Replace

Replace the entire document.

Delete

Delete the document with the given ID.