Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Filter

Filter

Hierarchy

Implements

  • Term

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Filter(field: string, operator: Operator, value: Value): Filter
  • Parameters

    • field: string
    • operator: Operator
    • value: Value

    Returns Filter

Properties

field

field: string

operator

operator: Operator

type

type: string = TYPE_FILTER

value

value: Value

Methods

compile

  • compile(): Except<Object>

fold

  • fold<A>(prev: A, f: FoldFunc<Object, A>): A
  • Type parameters

    • A

    Parameters

    • prev: A
    • f: FoldFunc<Object, A>

    Returns A

Static create

  • create(field: FieldName, operator: Operator, value: Value): Term
  • Parameters

    • field: FieldName
    • operator: Operator
    • value: Value

    Returns Term

Generated using TypeDoc