Reference documentation and code samples for the Cloud Firestore Admin V1 API module Google::Cloud::Firestore::Admin::V1::Database::ConcurrencyMode.
The type of concurrency control mode for transactions.
Constants
CONCURRENCY_MODE_UNSPECIFIED
value: 0 Not used.
OPTIMISTIC
value: 1 Use optimistic concurrency control by default. This setting is available
for Cloud Firestore customers.
PESSIMISTIC
value: 2 Use pessimistic concurrency control by default. This setting is available
for Cloud Firestore customers.
This is the default setting for Cloud Firestore.
OPTIMISTIC_WITH_ENTITY_GROUPS
value: 3 Use optimistic concurrency control with entity groups by default. This is
the only available setting for Cloud Datastore customers.
This is the default setting for Cloud Datastore.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]