Cloud Datastore V1 Client - Class CompositeFilter (1.32.1)

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

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

Generated from protobuf message google.datastore.v1.CompositeFilter

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ op int

The operator for combining multiple filters.

↳ filters array<Filter>

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

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.

Requires:

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

setFilters

The list of filters to combine.

Requires:

  • At least one filter is present.
Parameter
Name Description
var array<Filter>
Returns
Type Description
$this