Context manager for Cloud Spanner batched writes.
Accumulate mutations for transmission during
_exit_(exc_type, exc_val, exc_tb)
Commit mutations to the database.
return_commit_stats (bool) – If true, the response will return commit stats which can be accessed though commit_stats.
google.cloud.spanner_v1.types.RequestOptions) – (Optional) Common options for this request. If a dict is provided, it must be of the same form as the protobuf message
timestamp of the committed changes.
commit_stats( = None)
Timestamp at which the batch was successfully committed.