collectionTransaction static method
Outputs the builder to be written by the transaction.
Basically, it writes and deletes data for collectionPath
.
You can add the corresponding element by specifying linkedCollectionPath
.
Implementation
static LocalCollectionTransactionBuilder collectionTransaction({
required String collectionPath,
String? linkedCollectionPath,
}) {
return LocalCollectionTransactionBuilder._(
collectionPath: collectionPath,
linkedCollectionPath: linkedCollectionPath,
);
}