Cloud Firestore V1 Client - Class Direction (1.47.1)

Reference documentation and code samples for the Cloud Firestore V1 Client class Direction.

A sort direction.

Protobuf type google.firestore.v1.StructuredQuery.Direction

Namespace

Google \ Cloud \ Firestore \ V1 \ StructuredQuery

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DIRECTION_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum DIRECTION_UNSPECIFIED = 0;

ASCENDING

Value: 1

Ascending.

Generated from protobuf enum ASCENDING = 1;

DESCENDING

Value: 2

Descending.

Generated from protobuf enum DESCENDING = 2;