Enum Database.Types.ConcurrencyMode (3.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public enum ConcurrencyMode

The type of concurrency control mode for transactions.

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Fields

NameDescription
Optimistic

Use optimistic concurrency control by default. This mode is available for Cloud Firestore databases.

OptimisticWithEntityGroups

Use optimistic concurrency control with entity groups by default.

This is the only available mode for Cloud Datastore.

This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.

Pessimistic

Use pessimistic concurrency control by default. This mode is available for Cloud Firestore databases.

This is the default setting for Cloud Firestore.

Unspecified

Not used.