Cloud Datastore V1 Client - Class Filter (1.32.1)

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

A holder for any type of filter.

Generated from protobuf message google.datastore.v1.Filter

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ composite_filter CompositeFilter

A composite filter.

↳ property_filter PropertyFilter

A filter on a property.

getCompositeFilter

A composite filter.

Returns
Type Description
CompositeFilter|null

hasCompositeFilter

setCompositeFilter

A composite filter.

Parameter
Name Description
var CompositeFilter
Returns
Type Description
$this

getPropertyFilter

A filter on a property.

Returns
Type Description
PropertyFilter|null

hasPropertyFilter

setPropertyFilter

A filter on a property.

Parameter
Name Description
var PropertyFilter
Returns
Type Description
$this

getFilterType

Returns
Type Description
string