google_api_spanner v0.6.0 GoogleApi.Spanner.V1.Model.ExecuteBatchDmlRequest View Source

The request for ExecuteBatchDml

Attributes

  • seqno (type: String.t, default: nil) - A per-transaction sequence number used to identify this request. This is used in the same space as the seqno in ExecuteSqlRequest. See more details in ExecuteSqlRequest.

  • statements (type: list(GoogleApi.Spanner.V1.Model.Statement.t), default: nil) - The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement i are visible to statement i+1. Each statement must be a DML statement. Execution will stop at the first failed statement; the remaining statements will not run.

    REQUIRES: statements_size() > 0.

  • transaction (type: GoogleApi.Spanner.V1.Model.TransactionSelector.t, default: nil) - The transaction to use. A ReadWrite transaction is required. Single-use transactions are not supported (to avoid replay). The caller must either supply an existing transaction ID or begin a new 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 Source
t() :: %GoogleApi.Spanner.V1.Model.ExecuteBatchDmlRequest{
  seqno: String.t(),
  statements: [GoogleApi.Spanner.V1.Model.Statement.t()],
  transaction: GoogleApi.Spanner.V1.Model.TransactionSelector.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.