FieldFilter

google.firestore.v1.StructuredQuery. FieldFilter

Represents a FieldFilter.

Constructor

new FieldFilter(propertiesopt)

Constructs a new FieldFilter.

Parameters:
Name Type Attributes Description
properties google.firestore.v1.StructuredQuery.IFieldFilter <optional>

Properties to set

Implements:
  • IFieldFilter

Members

(static) Operator :string

Operator enum.

Properties:
Name Type Description
OPERATOR_UNSPECIFIED string

OPERATOR_UNSPECIFIED value

LESS_THAN string

LESS_THAN value

LESS_THAN_OR_EQUAL string

LESS_THAN_OR_EQUAL value

GREATER_THAN string

GREATER_THAN value

GREATER_THAN_OR_EQUAL string

GREATER_THAN_OR_EQUAL value

EQUAL string

EQUAL value

NOT_EQUAL string

NOT_EQUAL value

ARRAY_CONTAINS string

ARRAY_CONTAINS value

IN string

IN value

ARRAY_CONTAINS_ANY string

ARRAY_CONTAINS_ANY value

NOT_IN string

NOT_IN value

field :google.firestore.v1.StructuredQuery.IFieldReference|null|undefined

FieldFilter field.

op :google.firestore.v1.StructuredQuery.FieldFilter.Operator

FieldFilter op.

value :google.firestore.v1.IValue|null|undefined

FieldFilter value.

Methods

(static) fromObject(object) → {google.firestore.v1.StructuredQuery.FieldFilter}

Creates a FieldFilter message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a FieldFilter message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.firestore.v1.StructuredQuery.FieldFilter

FieldFilter

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this FieldFilter to JSON.