Cloud Datastore V1 Client - Class PropertyFilter (1.17.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
Name
Description
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.

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

Returns
Type
Description

hasProperty

clearProperty

setProperty

The property to filter by.

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

Parameter
Name
Description
Returns
Type
Description
$this

getOp

The operator to filter by.

Generated from protobuf field .google.datastore.v1.PropertyFilter.Operator op = 2;

Returns
Type
Description
int

setOp

The operator to filter by.

Generated from protobuf field .google.datastore.v1.PropertyFilter.Operator op = 2;

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getValue

The value to compare the property to.

Generated from protobuf field .google.datastore.v1.Value value = 3;

Returns
Type
Description

hasValue

clearValue

setValue

The value to compare the property to.

Generated from protobuf field .google.datastore.v1.Value value = 3;

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