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 \ IndexFieldMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ORDER_UNSPECIFIED
Value: 0The ordering is unspecified. Not a valid option.
Generated from protobuf enum ORDER_UNSPECIFIED = 0;
ASCENDING
Value: 1The field is ordered by ascending field value.
Generated from protobuf enum ASCENDING = 1;
DESCENDING
Value: 2The field is ordered by descending field value.
Generated from protobuf enum DESCENDING = 2;