Ditto Scoped Write Transaction
DittoScopedWriteTransaction exposes functionality that allows you to perform multiple operations on the store within a single write transaction.
Constructors
Functions
Generates a DittoWriteTransactionPendingCursorOperation with the provided query that can be used to update, remove, or evict documents.
Generates a DittoWriteTransactionPendingCursorOperation that can be used to update, remove or evict documents.
Generates a DittoWriteTransactionPendingIDSpecificOperation with the provided document ID that can be used to update, remove, or evict the document.
Inserts a document into the scoped collection and returns the document's ID.
Inserts a document into the scoped collection and returns the document's ID.
Inserts a new document into the collection and returns its ID. If the document already exists, the behavior is determined by the given writeStrategy
.