Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::BatchWriteRequest::MutationGroup.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mutations
def mutations() -> ::Array<::Google::Cloud::Spanner::V1::Mutation>
Returns
- (::Array<::Google::Cloud::Spanner::V1::Mutation>) — Required. The mutations in this group.
#mutations=
def mutations=(value) -> ::Array<::Google::Cloud::Spanner::V1::Mutation>
Parameter
- value (::Array<::Google::Cloud::Spanner::V1::Mutation>) — Required. The mutations in this group.
Returns
- (::Array<::Google::Cloud::Spanner::V1::Mutation>) — Required. The mutations in this group.