write

Allows you to group multiple operations together that affect multiple documents, potentially across multiple collections.

Return

a list of DittoWriteTransactionResults. There is a result for each operation performed as part of the write transaction.

Parameters

block

a closure that provides access to a write transaction object that can be used to perform operations on the store.


Allows you to group multiple operations together that affect multiple documents, potentially across multiple collections.

Return

a list of DittoWriteTransactionResults. There is a result for each operation performed as part of the write transaction.

Parameters

handler

an object that implements the DittoWriteTransactionHandler interface, whose write function will be provided with a write transaction object that can be used to perform operations on the store.