Reference documentation and code samples for the Cloud Datastore V1 Client class ConflictResolutionStrategy.
The possible ways to resolve a conflict detected in a mutation.
Protobuf type google.datastore.v1.Mutation.ConflictResolutionStrategy
Namespace
Google \ Cloud \ Datastore \ V1 \ MutationMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STRATEGY_UNSPECIFIED
Value: 0
Unspecified. Defaults to SERVER_VALUE
.
Generated from protobuf enum STRATEGY_UNSPECIFIED = 0;
SERVER_VALUE
Value: 1
The server entity is kept.
Generated from protobuf enum SERVER_VALUE = 1;
FAIL
Value: 3
The whole commit request fails.
Generated from protobuf enum FAIL = 3;