Cloud Firestore V1 Client - Class UnaryFilter (1.53.1)

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

A filter with a single operand.

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

Namespace

Google \ Cloud \ Firestore \ V1 \ StructuredQuery

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ op
int

The unary operator to apply.

↳ field
FieldReference

The field to which to apply the operator.

getOp

The unary operator to apply.

Returns
Type
Description
int
Enum of type Operator .

setOp

The unary operator to apply.

Parameter
Name
Description
var
int

Enum of type Operator .

Returns
Type
Description
$this

getField

The field to which to apply the operator.

Returns
Type
Description

hasField

setField

The field to which to apply the operator.

Parameter
Name
Description
Returns
Type
Description
$this

getOperandType

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: