google_api_datastore v0.15.0 GoogleApi.Datastore.V1.Model.MutationResult View Source
The result of applying a mutation.
Attributes
conflictDetected
(type:boolean()
, default:nil
) - Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.key
(type:GoogleApi.Datastore.V1.Model.Key.t
, default:nil
) - The automatically allocated key. Set only when the mutation allocated a key.version
(type:String.t
, default:nil
) - The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Datastore.V1.Model.MutationResult{ conflictDetected: boolean(), key: GoogleApi.Datastore.V1.Model.Key.t(), version: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.