Class ReadWrite (2.29.0)

ReadWrite(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Options for a transaction that can be used to read and write documents.

Attributes

Name Description
retry_transaction bytes
An optional transaction to retry.
concurrency_mode google.cloud.firestore_v1.types.TransactionOptions.ConcurrencyMode
Optional. The concurrency control mode to use for this transaction. A database is able to use different concurrency modes for different transactions simultaneously. 3rd party auth requests are only allowed to create optimistic read-write transactions and must specify that here even if the database-level setting is already configured to optimistic.