Cloud Firestore V1 Client - Class Order (1.36.1)

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

The supported orderings.

Protobuf type google.firestore.admin.v1.Index.IndexField.Order

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ Index \ IndexField

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

ORDER_UNSPECIFIED

Value: 0

The ordering is unspecified. Not a valid option.

Generated from protobuf enum ORDER_UNSPECIFIED = 0;

ASCENDING

Value: 1

The field is ordered by ascending field value.

Generated from protobuf enum ASCENDING = 1;

DESCENDING

Value: 2

The field is ordered by descending field value.

Generated from protobuf enum DESCENDING = 2;