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."],[[["The webpage provides documentation for the `KeySet` class in the Google Cloud Spanner C++ library, covering versions from 2.11.0 to 2.37.0-rc, with version 2.29.0 being the current main focus."],["The `KeySet` class is a collection of `Key`s, allowing users to construct a set and add individual `Key`s or ranges of `Key`s, with the responsibility of ensuring all keys within a `KeySet` share the same number and types of values."],["Users can create a `KeySet` instance representing all keys using the `KeySet::All()` function, which can be particularly useful for operations like deleting all entries in a table."],["The documentation includes examples of using `KeySet` to delete specific keys or ranges of keys, as well as deleting all keys in a set."],["The `KeySet` class offers constructors to make an empty set, as well as copy and move constructors, also it supports the copy and move assignment operators, and the `AddKey` and `AddRange` functions."]]],[]]