Cloud Firestore V1 Client - Class FieldFilter (1.27.3)

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

A filter on a specific field.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ op
int

The operator to filter by.

↳ value
Google\Cloud\Firestore\V1\Value

The value to compare to.

getField

The field to filter by.

hasField

clearField

setField

The field to filter by.

Returns
Type
Description
$this

getOp

The operator to filter by.

Returns
Type
Description
int

setOp

The operator to filter by.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getValue

The value to compare to.

Returns
Type
Description

hasValue

clearValue

setValue

The value to compare to.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: