Reference documentation and code samples for the Cloud Firestore V1beta1 Client class UnaryFilter.
A filter with a single operand.
Generated from protobuf message google.firestore.v1beta1.StructuredQuery.UnaryFilter
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ op |
int
The unary operator to apply. |
↳ field |
Google\Cloud\Firestore\V1beta1\StructuredQuery\FieldReference
The field to which to apply the operator. |
getOp
The unary operator to apply.
| Returns | |
|---|---|
| Type | Description |
int |
|
setOp
The unary operator to apply.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getField
The field to which to apply the operator.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Firestore\V1beta1\StructuredQuery\FieldReference |
|
setField
The field to which to apply the operator.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Firestore\V1beta1\StructuredQuery\FieldReference
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperandType
| Returns | |
|---|---|
| Type | Description |
string |
|