Options
All
  • Public
  • Public/Protected
  • All
Menu

Criterion is a partial condition that can specify comparison operator for a field.

Hierarchy

  • Criterion

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

fieldPath

fieldPath: string

Optional operation

operation: ComparisonJSON

Optional query

query: Query

Optional value

value: ValueJSON

Methods

eq

  • eq is an equality operator against a field

    Parameters

    • value: Value

      The value to query against. Must be a valid JSON data type.

    Returns Query

ge

  • ge is a greater or equal operator against a field

    Parameters

    • value: Value

      The value to query against. Must be a valid JSON data type.

    Returns Query

gt

  • gt is a greater operator against a field

    Parameters

    • value: Value

      The value to query against. Must be a valid JSON data type.

    Returns Query

le

  • le is a less or equal operator against a field

    Parameters

    • value: Value

      The value to query against. Must be a valid JSON data type.

    Returns Query

lt

  • lt is a less operation against a field

    Parameters

    • value: Value

      The value to query against. Must be a valid JSON data type.

    Returns Query

ne

  • ne is a not equal operator against a field

    Parameters

    • value: Value

      The value to query against. Must be a valid JSON data type.

    Returns Query

toJSON