The KeySet class is a regular type that represents a collection of Keys.
Users can construct a KeySet instance, then add Keys and ranges of Keys to the set. The caller is responsible for ensuring that all keys in a given KeySet instance contain the same number and types of values.
Users may also optionally construct an instance that represents all keys with KeySet::All().
[[["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 webpage details the `KeySet` class in the Google Cloud Spanner C++ library, representing a collection of `Key`s for database operations."],["Users can create a `KeySet` instance, then include individual `Key`s or ranges of `Key`s, making sure all keys within the set are of consistent types and numbers of values."],["The `KeySet::All()` function enables the creation of a `KeySet` instance representing all keys, which is useful for operations like deleting all rows in a table."],["The page also provides versioned documentation, detailing how the `KeySet` class has appeared in different versions, with version 2.37.0-rc being the latest release candidate."],["The page displays an overview of `KeySet` constructors, operators, and functions, including `All()`, `AddKey(Key)`, and `AddRange(KeyBound, KeyBound)` which are explained with examples."]]],[]]