Class ExecuteBatchDmlRequest (1.12.0)

The request for ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]

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.

A per-transaction sequence number used to identify this request. This is used in the same space as the seqno in ExecuteSqlRequest][Spanner.ExecuteSqlRequest]. See more details in ExecuteSqlRequest][Spanner.ExecuteSqlRequest].

Classes

Statement

A single DML statement.

The DML string can contain parameter placeholders. A parameter placeholder consists of '@' followed by the parameter name. Parameter names consist of any combination of letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: "WHERE id > @msg_id AND id < @msg_id + 100" It is an error to execute an SQL statement with unbound parameters. Parameter values are specified using params, which is a JSON object whose keys are parameter names, and whose values are the corresponding parameter values.