Cloud Spanner V1 Client - Class Order (2.1.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class Order.

The remaining fields encode column values.

Protobuf type google.spanner.v1.KeyRecipe.Part.Order

Namespace

Google \ Cloud \ Spanner \ V1 \ KeyRecipe \ Part

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ORDER_UNSPECIFIED

Value: 0

Default value, equivalent to ASCENDING.

Generated from protobuf enum ORDER_UNSPECIFIED = 0;

ASCENDING

Value: 1

The key is ascending - corresponds to ASC in the schema definition.

Generated from protobuf enum ASCENDING = 1;

DESCENDING

Value: 2

The key is descending - corresponds to DESC in the schema definition.

Generated from protobuf enum DESCENDING = 2;