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
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ property |
PropertyReference
The property to filter by. |
↳ op |
int
The operator to filter by. |
↳ value |
Value
The value to compare the property to. |
getProperty
The property to filter by.
Returns | |
---|---|
Type | Description |
PropertyReference|null |
hasProperty
clearProperty
setProperty
The property to filter by.
Parameter | |
---|---|
Name | Description |
var |
PropertyReference
|
Returns | |
---|---|
Type | Description |
$this |
getOp
The operator to filter by.
Returns | |
---|---|
Type | Description |
int |
setOp
The operator to filter by.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getValue
The value to compare the property to.
Returns | |
---|---|
Type | Description |
Value|null |
hasValue
clearValue
setValue
The value to compare the property to.
Parameter | |
---|---|
Name | Description |
var |
Value
|
Returns | |
---|---|
Type | Description |
$this |