BatchWriteRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The request for BatchWrite][google.spanner.v1.Spanner.BatchWrite]
.
Attributes |
|
---|---|
Name | Description |
session |
str
Required. The session in which the batch request is to be run. |
request_options |
google.cloud.spanner_v1.types.RequestOptions
Common options for this request. |
mutation_groups |
MutableSequence[google.cloud.spanner_v1.types.BatchWriteRequest.MutationGroup]
Required. The groups of mutations to be applied. |
exclude_txn_from_change_streams |
bool
Optional. If you don't set the exclude_txn_from_change_streams option or if it's set to
false , then any change streams monitoring columns
modified by transactions will capture the updates made
within that transaction.
|
Classes
MutationGroup
MutationGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A group of mutations to be committed together. Related mutations should be placed in a group. For example, two mutations inserting rows with the same primary key prefix in both parent and child tables are related.