Bigtable can perform multiple changes to a single row atomically. This class represents 0 or more changes to apply to a single row. The changes may include setting cells (which implicitly insert the values), deleting values, etc.
[[["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-03-21 UTC."],[[["This document outlines the `SingleRowMutation` class within the Google Cloud Bigtable C++ client library, which is used to represent changes made to a single row in a Bigtable database."],["The `SingleRowMutation` class can be constructed in multiple ways, including from a row key, an initializer list of mutations, a variadic list of mutations, or from gRPC proto representations like `MutateRowsRequest::Entry` or `MutateRowRequest`."],["The class supports move and copy operations, via `SingleRowMutation &&` and `SingleRowMutation const &` respectively, in addition to supporting the assignment operators."],["The `emplace_back()` function is used to add individual mutations, `row_key()` retrieves the row key, and `Clear()` is used to empty the contents of the mutation."],["`MoveTo()` transfers the mutation to a `MutateRowsRequest::Entry` or a `MutateRowRequest` for transmission to the database."]]],[]]