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 within the Google Cloud Spanner C++ library, focusing on its role in managing collections of `Key`s for database operations."],["The `KeySet` class allows users to construct an instance and add individual `Key`s or ranges of `Key`s, ensuring that all `Key`s within a `KeySet` share the same number and types of values."],["A `KeySet` can be created to represent all keys by using the `KeySet::All()` method, offering a convenient way to target all data in a table, such as in deletion operations."],["The page provides a list of versioned links to the `KeySet` class documentation, from version 2.16.0 all the way to the most recent version of 2.37.0-rc, to accommodate different project dependencies."],["The documentation also details its constructors, the assignment operators, and functions like `AddKey` and `AddRange`, providing methods to manipulate instances of the `KeySet` class."]]],[]]