Cloud Datastore V1 Client - Class PropertyOrder (1.17.1)

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

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.

Generated from protobuf field .google.datastore.v1.PropertyReference property = 1;

Returns
Type
Description

hasProperty

clearProperty

setProperty

The property to order by.

Generated from protobuf field .google.datastore.v1.PropertyReference property = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getDirection

The direction to order by. Defaults to ASCENDING .

Generated from protobuf field .google.datastore.v1.PropertyOrder.Direction direction = 2;

Returns
Type
Description
int

setDirection

The direction to order by. Defaults to ASCENDING .

Generated from protobuf field .google.datastore.v1.PropertyOrder.Direction direction = 2;

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