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\u003eThe \u003ccode\u003eKeySet\u003c/code\u003e class represents a collection of \u003ccode\u003eKey\u003c/code\u003es in the Google Cloud Spanner C++ library, allowing users to define sets of keys and key ranges.\u003c/p\u003e\n"],["\u003cp\u003eUsers can construct \u003ccode\u003eKeySet\u003c/code\u003e instances and add individual \u003ccode\u003eKey\u003c/code\u003es or ranges of \u003ccode\u003eKey\u003c/code\u003es to them, ensuring that all keys in the set have matching value types and counts.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKeySet::All()\u003c/code\u003e allows users to represent the set of all keys, useful for operations like deleting all data from a table, as shown in the provided example.\u003c/p\u003e\n"],["\u003cp\u003eThe library provides methods like \u003ccode\u003eAddKey\u003c/code\u003e and \u003ccode\u003eAddRange\u003c/code\u003e for modifying \u003ccode\u003eKeySet\u003c/code\u003e instances, and the content has a list of available \u003ccode\u003eKeySet\u003c/code\u003e versions ranging from 2.11.0 to the latest 2.37.0-rc.\u003c/p\u003e\n"]]],[],null,[]]