get

operator fun get(collectionName: String): DittoScopedWriteTransaction

Creates a DittoScopedWriteTransaction object that will ensure that operations called on it are all in the context of the collection name provided to this function. You can create many DittoScopedWriteTransaction objects per DittoWriteTransaction object.

Return

A DittoScopedWriteTransaction that is scoped to the specified collection.

Parameters

collectionName

the name of the collection that the write transaction object should be scoped to.