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_UNSPECIFIED is equivalent to ORDER_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_token field, the API will return an INVALID_ARGUMENT error.

1
ORDER_BY_NO_ORDER =

Read rows are returned in any order.

2