Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::ReadRequest::OrderBy (v1.19.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Spanner V1 API module Google::Cloud::Spanner::V1::ReadRequest::OrderBy.
An option to control the order in which rows are returned from a read.
Constants
ORDER_BY_UNSPECIFIED
value: 0 Default value.
ORDER_BY_UNSPECIFIED is equivalent to ORDER_BY_PRIMARY_KEY.
ORDER_BY_PRIMARY_KEY
value: 1 Read rows are returned in primary key order.
In the event that this option is used in conjunction with the
partition_token field, the API returns an INVALID_ARGUMENT error.