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-04-09 UTC."],[[["This page details the `KeySet` class, which is a data structure used to represent a collection of `Key`s in the Google Cloud Spanner C++ client library."],["Users can create a `KeySet` instance and add individual `Key`s or ranges of `Key`s to it, ensuring consistency in the number and types of values within the keys."],["The `KeySet::All()` function provides a way to represent all possible keys for a given index, enabling operations like deleting all rows in a table."],["The `KeySet` class supports constructors for creating empty sets, copying, or moving, as well as operators for assignment."],["The page provides access to the documentation of different versions of the `KeySet` class, with version `2.37.0-rc` being the latest and versions ranging from `2.36.0` down to `2.11.0` also being available."]]],[]]