Cloud Firestore V1 Client - Class CompositeFilter (1.27.3)

Reference documentation and code samples for the Cloud Firestore V1 Client class CompositeFilter.

A filter that merges multiple other filters using the given operator.

Generated from protobuf message google.firestore.v1.StructuredQuery.CompositeFilter

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ op int

The operator for combining multiple filters.

↳ filters array<Google\Cloud\Firestore\V1\StructuredQuery\Filter>

The list of filters to combine. Requires: * At least one filter is present.

getOp

The operator for combining multiple filters.

Returns
TypeDescription
int

setOp

The operator for combining multiple filters.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFilters

The list of filters to combine.

Requires:

  • At least one filter is present.
Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFilters

The list of filters to combine.

Requires:

  • At least one filter is present.
Parameter
NameDescription
var array<Google\Cloud\Firestore\V1\StructuredQuery\Filter>
Returns
TypeDescription
$this