MultiplexedSessionPrecommitToken(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
When a read-write transaction is executed on a multiplexed session,
this precommit token is sent back to the client as a part of the
Transaction][google.spanner.v1.Transaction]
message in the
BeginTransaction][google.spanner.v1.BeginTransactionRequest]
response and also as a part of the
ResultSet][google.spanner.v1.ResultSet]
and
PartialResultSet][google.spanner.v1.PartialResultSet]
responses.
Attributes |
|
---|---|
Name | Description |
precommit_token |
bytes
Opaque precommit token. |
seq_num |
int
An incrementing seq number is generated on every precommit token that is returned. Clients should remember the precommit token with the highest sequence number from the current transaction attempt. |