Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/Predicate"

Index

Functions

alwaysFalse

  • Returns Predicate

alwaysTrue

  • Returns Predicate

and

  • Parameters

    Returns Predicate

between

  • between(field: string, from: any, to: any): Predicate
  • Parameters

    • field: string
    • from: any
    • to: any

    Returns Predicate

equal

  • equal(field: string, value: any): Predicate
  • Parameters

    • field: string
    • value: any

    Returns Predicate

greaterEqual

  • greaterEqual(field: string, value: any): Predicate
  • Parameters

    • field: string
    • value: any

    Returns Predicate

greaterThan

  • greaterThan(field: string, value: any): Predicate
  • Parameters

    • field: string
    • value: any

    Returns Predicate

ilike

  • ilike(field: string, expr: string): Predicate
  • Parameters

    • field: string
    • expr: string

    Returns Predicate

inPredicate

  • inPredicate(field: string, ...values: any[]): Predicate
  • Parameters

    • field: string
    • Rest ...values: any[]

    Returns Predicate

instanceOf

  • Parameters

    • className: string

    Returns Predicate

lessEqual

  • lessEqual(field: string, value: any): Predicate
  • Parameters

    • field: string
    • value: any

    Returns Predicate

lessThan

  • lessThan(field: string, value: any): Predicate
  • Parameters

    • field: string
    • value: any

    Returns Predicate

like

  • like(field: string, expr: string): Predicate
  • Parameters

    • field: string
    • expr: string

    Returns Predicate

not

notEqual

  • notEqual(field: string, value: any): Predicate
  • Parameters

    • field: string
    • value: any

    Returns Predicate

or

  • Parameters

    Returns Predicate

paging

regex

  • regex(field: string, reg: string): Predicate
  • Parameters

    • field: string
    • reg: string

    Returns Predicate

sql

  • Parameters

    • str: string

    Returns Predicate

Generated using TypeDoc