Cloud Firestore V1 API - Module Google::Cloud::Firestore::V1::TransactionOptions::ConcurrencyMode (v2.4.0)

Reference documentation and code samples for the Cloud Firestore V1 API module Google::Cloud::Firestore::V1::TransactionOptions::ConcurrencyMode.

The type of concurrency control mode for transactions.

Constants

CONCURRENCY_MODE_UNSPECIFIED

value: 0
Start the transaction with the database-level default concurrency mode.

OPTIMISTIC

value: 1
Use optimistic concurrency control for the new transaction.

PESSIMISTIC

value: 2
Use pessimistic concurrency control for the new transaction.