Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::Mutation::Delete (v0.14.1)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::Mutation::Delete.

Arguments to delete operations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key_set

def key_set() -> ::Google::Cloud::Spanner::V1::KeySet
Returns
  • (::Google::Cloud::Spanner::V1::KeySet) — Required. The primary keys of the rows within 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.

#key_set=

def key_set=(value) -> ::Google::Cloud::Spanner::V1::KeySet
Parameter
  • value (::Google::Cloud::Spanner::V1::KeySet) — Required. The primary keys of the rows within 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.
Returns
  • (::Google::Cloud::Spanner::V1::KeySet) — Required. The primary keys of the rows within 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.

#table

def table() -> ::String
Returns
  • (::String) — Required. The table whose rows will be deleted.

#table=

def table=(value) -> ::String
Parameter
  • value (::String) — Required. The table whose rows will be deleted.
Returns
  • (::String) — Required. The table whose rows will be deleted.