Module: Google::Cloud::Spanner::V1::ReadRequest::OrderBy
- Defined in:
- proto_docs/google/spanner/v1/spanner.rb
Overview
An option to control the order in which rows are returned from a read.
Constant Summary collapse
- ORDER_BY_UNSPECIFIED =
Default value.
ORDER_BY_UNSPECIFIEDis equivalent toORDER_BY_PRIMARY_KEY. 0- ORDER_BY_PRIMARY_KEY =
Read rows are returned in primary key order.
In the event that this option is used in conjunction with the
partition_tokenfield, the API returns anINVALID_ARGUMENTerror. 1- ORDER_BY_NO_ORDER =
Read rows are returned in any order.
2