ComparableFieldOperand provides filtering methods for compared fields.

Type parameters

  • T

Hierarchy

  • ComparableFieldOperand

Methods

eq

  • eq(x: T): Filter
  • The field is equal to a constant.

    Parameters

    • x: T

      Constant that the field needs to be compared with.

    Returns Filter

gt

  • gt(x: T): Filter
  • The field is greater than the constant.

    Parameters

    • x: T

      Constant that the field needs to be compared with.

    Returns Filter

gte

  • gte(x: T): Filter
  • The field is greater than or equal to a constant.

    Parameters

    • x: T

      Constant that the field needs to be compared with.

    Returns Filter

lt

  • lt(x: T): Filter
  • The field is less than the constant.

    Parameters

    • x: T

      Constant that the field needs to be compared with.

    Returns Filter

lte

  • lte(x: T): Filter
  • The field is less than or equal to a constant.

    Parameters

    • x: T

      Constant that the field needs to be compared with.

    Returns Filter

neq

  • neq(x: T): Filter
  • The field is not equal to a constant.

    Parameters

    • x: T

      Constant that the field needs to be compared with.

    Returns Filter