google_api_spanner v0.18.0 GoogleApi.Spanner.V1.Model.CommitRequest View Source
The request for Commit.
Attributes
mutations
(type:list(GoogleApi.Spanner.V1.Model.Mutation.t)
, default:nil
) - The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.singleUseTransaction
(type:GoogleApi.Spanner.V1.Model.TransactionOptions.t
, default:nil
) - Execute mutations in a temporary transaction. Note that unlike commit of a previously-started transaction, commit with a temporary transaction is non-idempotent. That is, if theCommitRequest
is sent to Cloud Spanner more than once (for instance, due to retries in the application, or in the transport library), it is possible that the mutations are executed more than once. If this is undesirable, use BeginTransaction and Commit instead.transactionId
(type:String.t
, default:nil
) - Commit a previously-started transaction.
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.Spanner.V1.Model.CommitRequest{ mutations: [GoogleApi.Spanner.V1.Model.Mutation.t()], singleUseTransaction: GoogleApi.Spanner.V1.Model.TransactionOptions.t(), transactionId: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.