In addition to the Data Manipulation Language (DML) based APIs, Cloud Spanner supports the mutation API, where the application describes data modification using a data structure instead of a SQL statement.
This class serves as a wrapper for all mutations types. Use the builders, such as InsertMutationBuilder or UpdateMutationBuilder to create objects of this class.
[[["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-04-09 UTC."],[[["The document provides versioned documentation for the `Mutation` class in the Cloud Spanner C++ library, with the latest release candidate being version 2.37.0-rc."],["The `Mutation` class is a wrapper for Cloud Spanner mutations, which are an alternative to Data Manipulation Language (DML) APIs, allowing data modification through a data structure rather than SQL statements."],["The documentation covers constructors, operators, and functions associated with the `Mutation` class, including `as_proto()`, which is used to convert the mutation to its underlying protocol buffer representation."],["The `Mutation` class is used to manage different types of data modifications and provides builders such as `InsertMutationBuilder` or `UpdateMutationBuilder` to create its objects."],["The document lists all available versions of the `Mutation` class, starting with version 2.11.0 and going all the way to 2.37.0-rc, allowing users to access specific information related to each release."]]],[]]