google_api_datastore v0.4.0 GoogleApi.Datastore.V1.Model.MutationResult View Source
The result of applying a mutation.
Attributes
- conflictDetected (boolean()): Whether a conflict was detected for this mutation. Always false when a
conflict detection strategy field is not set in the mutation. Defaults to
nil
. - key (GoogleApi.Datastore.V1.Model.Key.t): The automatically allocated key.
Set only when the mutation allocated a key. Defaults to
nil
. - version (String.t): 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. Defaults to
nil
.
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 Source
t()
View Source
t() :: %GoogleApi.Datastore.V1.Model.MutationResult{
conflictDetected: boolean(),
key: GoogleApi.Datastore.V1.Model.Key.t(),
version: String.t()
}
t() :: %GoogleApi.Datastore.V1.Model.MutationResult{ conflictDetected: boolean(), key: GoogleApi.Datastore.V1.Model.Key.t(), version: String.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.