Cloud Datastore V1 Client - Class PropertyFilter (1.18.1)

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

A filter on a specific property.

Generated from protobuf message google.datastore.v1.PropertyFilter

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ property Google\Cloud\Datastore\V1\PropertyReference

The property to filter by.

↳ op int

The operator to filter by.

↳ value Google\Cloud\Datastore\V1\Value

The value to compare the property to.

getProperty

The property to filter by.

Returns
TypeDescription
Google\Cloud\Datastore\V1\PropertyReference|null

hasProperty

clearProperty

setProperty

The property to filter by.

Parameter
NameDescription
var Google\Cloud\Datastore\V1\PropertyReference
Returns
TypeDescription
$this

getOp

The operator to filter by.

Returns
TypeDescription
int

setOp

The operator to filter by.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getValue

The value to compare the property to.

Returns
TypeDescription
Google\Cloud\Datastore\V1\Value|null

hasValue

clearValue

setValue

The value to compare the property to.

Parameter
NameDescription
var Google\Cloud\Datastore\V1\Value
Returns
TypeDescription
$this