Class Delete (3.38.0)

Delete(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Arguments to delete][google.spanner.v1.Mutation.delete] operations.

Attributes

NameDescription
table str
Required. The table whose rows will be deleted.
key_set google.cloud.spanner_v1.types.KeySet
Required. The primary keys of the rows within table][google.spanner.v1.Mutation.Delete.table] to delete. The primary keys must be specified in the order in which they appear in the PRIMARY KEY() clause of the table's equivalent DDL statement (the DDL statement used to create the table). Delete is idempotent. The transaction will succeed even if some or all rows do not exist.