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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eKeySet\u003c/code\u003e class within the Google Cloud Spanner C++ library, focusing on its role in managing collections of \u003ccode\u003eKey\u003c/code\u003es for database operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKeySet\u003c/code\u003e class allows users to construct an instance and add individual \u003ccode\u003eKey\u003c/code\u003es or ranges of \u003ccode\u003eKey\u003c/code\u003es, ensuring that all \u003ccode\u003eKey\u003c/code\u003es within a \u003ccode\u003eKeySet\u003c/code\u003e share the same number and types of values.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eKeySet\u003c/code\u003e can be created to represent all keys by using the \u003ccode\u003eKeySet::All()\u003c/code\u003e method, offering a convenient way to target all data in a table, such as in deletion operations.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a list of versioned links to the \u003ccode\u003eKeySet\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also details its constructors, the assignment operators, and functions like \u003ccode\u003eAddKey\u003c/code\u003e and \u003ccode\u003eAddRange\u003c/code\u003e, providing methods to manipulate instances of the \u003ccode\u003eKeySet\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]