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 |
Google\Cloud\Datastore\V1\PropertyReference
The property to order by. |
↳ direction |
int
The direction to order by. Defaults to |
getProperty
The property to order by.
Returns | |
---|---|
Type | Description |
Google\Cloud\Datastore\V1\PropertyReference|null |
hasProperty
clearProperty
setProperty
The property to order by.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Datastore\V1\PropertyReference
|
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 |