Reference documentation and code samples for the Cloud Firestore V1beta1 Client class CompositeFilter.
A filter that merges multiple other filters using the given operator.
Generated from protobuf message google.firestore.v1beta1.StructuredQuery.CompositeFilter
Namespace
Google \ Cloud \ Firestore \ V1beta1 \ StructuredQueryMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ op |
int
The operator for combining multiple filters. |
↳ filters |
array<Google\Cloud\Firestore\V1beta1\StructuredQuery\Filter>
The list of filters to combine. Must contain at least one filter. |
getOp
The operator for combining multiple filters.
Returns | |
---|---|
Type | Description |
int |
setOp
The operator for combining multiple filters.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getFilters
The list of filters to combine.
Must contain at least one filter.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFilters
The list of filters to combine.
Must contain at least one filter.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Firestore\V1beta1\StructuredQuery\Filter>
|
Returns | |
---|---|
Type | Description |
$this |