Module google_cloud_spanner::key
source · [−]Structs
A Key can be either a Cloud Spanner row’s primary key or a secondary index key. A Key can be used as:
A KeyRange represents a range of rows in a table or index.
/ A KeySet defines a collection of Cloud Spanner keys and/or key ranges. All / the keys are expected to be in the same table or index. The keys need not be / sorted in any particular way. / / An individual Key can act as a KeySet, as can a KeyRange. Use the KeySets / function to create a KeySet consisting of multiple Keys and KeyRanges. To / obtain an empty KeySet, call KeySets with no arguments. / / If the same key is specified multiple times in the set (for example if two / ranges, two keys, or a key and a range overlap), the Cloud Spanner backend / behaves as if the key were only specified once.
Enums
Functions
all_keys returns a KeySet that represents all Keys of a table or a index.