Cloud Datastore V1 Client - Class PropertyOrder (1.25.0)

Reference documentation and code samples for the Cloud Datastore V1 Client class PropertyOrder.

The desired order for a specific property.

Generated from protobuf message google.datastore.v1.PropertyOrder

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ property
↳ direction
int

The direction to order by. Defaults to ASCENDING .

getProperty

The property to order by.

Returns
Type
Description

hasProperty

clearProperty

setProperty

The property 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: