Cloud Firestore V1 Client - Class Order (1.53.0)

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

An order on a field.

Generated from protobuf message google.firestore.v1.StructuredQuery.Order

Namespace

Google \ Cloud \ Firestore \ V1 \ StructuredQuery

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ field
FieldReference

The field to order by.

↳ direction
int

The direction to order by. Defaults to ASCENDING .

getField

The field to order by.

Returns
Type
Description

hasField

clearField

setField

The field to order by.

Parameter
Name
Description
Returns
Type
Description
$this

getDirection

The direction to order by. Defaults to ASCENDING .

Returns
Type
Description
int

setDirection

The direction to order by. Defaults to ASCENDING .

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: