GoogleApi.Datastore.V1.Model.CommitRequest (google_api_datastore v0.17.2) View Source
The request for Datastore.Commit.
Attributes
-
mode
(type:String.t
, default:nil
) - The type of commit to perform. Defaults toTRANSACTIONAL
. -
mutations
(type:list(GoogleApi.Datastore.V1.Model.Mutation.t)
, default:nil
) - The mutations to perform. When mode isTRANSACTIONAL
, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a singleCommit
request: -insert
followed byinsert
-update
followed byinsert
-upsert
followed byinsert
-delete
followed byupdate
When mode isNON_TRANSACTIONAL
, no two mutations may affect a single entity. -
transaction
(type:String.t
, default:nil
) - The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Datastore.V1.Model.CommitRequest{ mode: String.t(), mutations: [GoogleApi.Datastore.V1.Model.Mutation.t()], transaction: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.