The GlobalFilters object provides methods to link filtering parameters in the Search.where method and enables full-text search for String type fields.

Hierarchy

Methods

and

  • and(...operands: Filter[]): Filter
  • Combining multiple filters with a logical AND.

    Parameters

    • Rest ...operands: Filter[]

    Returns Filter

fts

  • fts(query: string): Filter
  • Full-text search.

    Parameters

    • query: string

    Returns Filter

not

  • not(...operands: Filter[]): Filter
  • Combining multiple filters with the logical negation.

    Parameters

    • Rest ...operands: Filter[]

    Returns Filter

or

  • or(...operands: Filter[]): Filter
  • Combining multiple filters with a logical OR.

    Parameters

    • Rest ...operands: Filter[]

    Returns Filter