public sealed class Mutation.Types.Delete : IMessage<Mutation.Types.Delete>, IEquatable<Mutation.Types.Delete>, IDeepCloneable<Mutation.Types.Delete>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class Mutation.Types.Delete.
Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[[["This documentation page covers the `Mutation.Types.Delete` class within the Google Cloud Spanner v1 API, specifically detailing its use for deleting rows in Spanner tables."],["The `Mutation.Types.Delete` class is a sealed class that implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing it to interact with different aspects of the system."],["The latest version is 5.0.0-beta05, but the current documentation focuses on version 4.6.0, with links to many previous versions ranging from 3.5.0 to 5.0.0-beta04."],["To use it, you must instantiate the `Mutation.Types.Delete` class, either through its parameterless constructor or by providing another instance of `Mutation.Types.Delete` to the alternative constructor."],["The `Mutation.Types.Delete` object requires the `Table` and `KeySet` properties to be properly set, to determine which table is going to have rows removed, and which primary keys will be removed."]]],[]]