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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]