Options
All
  • Public
  • Public/Protected
  • All
Menu

Predicates to constrain the results to be retrieved.

Hierarchy

  • Predicates

Index

Methods

Static and

Static andOperation

Static between

  • between(key: string, startValue: any, endValue: any): Predicate
  • description

    checks given value of data by key between given startValue and given endValue.

    Parameters

    • key: string
    • startValue: any
    • endValue: any

    Returns Predicate

Static Private checkEquality

Static checkLike

  • checkLike(data: Props<any>, key: string, value: any, fromLeft: boolean, fromRight: boolean, caseSensitive?: boolean): boolean
  • Parameters

    • data: Props<any>
    • key: string
    • value: any
    • fromLeft: boolean
    • fromRight: boolean
    • Optional caseSensitive: boolean

    Returns boolean

Static endsWith

  • endsWith(key: string, value: any, caseSensitive?: boolean): Predicate
  • description

    checks given value of data by key endsWith given value by caseSensitive parameter.

    Parameters

    • key: string
    • value: any
    • Optional caseSensitive: boolean

    Returns Predicate

Static eq

  • eq(key: string, value: any, caseSensitive?: boolean): Predicate
  • description

    checks equality given value and given value of data by key.

    Parameters

    • key: string
    • value: any
    • Optional caseSensitive: boolean

    Returns Predicate

Static gt

  • description

    checks given value of data by key greater then given value .

    Parameters

    • key: string
    • value: any

    Returns Predicate

Static gte

  • description

    checks given value of data by key greater then or equals given value .

    Parameters

    • key: string
    • value: any

    Returns Predicate

Static in

  • in(key: string, values: any[], caseSensitive?: boolean): Predicate
  • description

    checks given value of data by key in given array values by caseSensitive parameter.

    Parameters

    • key: string
    • values: any[]
    • Optional caseSensitive: boolean

    Returns Predicate

Static isEmpty

Static isFalse

  • description

    checks equality given value and given value of data by key.

    Parameters

    • key: string

    Returns Predicate

Static isNotEmpty

Static isNotNull

Static isNull

Static isTrue

  • description

    checks equality given value and given value of data by key.

    Parameters

    • key: string

    Returns Predicate

Static like

  • like(key: string, value: any, caseSensitive?: boolean): Predicate
  • description

    checks given value of data by key like given value by caseSensitive parameter.

    Parameters

    • key: string
    • value: any
    • Optional caseSensitive: boolean

    Returns Predicate

Static likeIn

  • likeIn(key: string, values: any[], caseSensitive?: boolean): Predicate
  • description

    checks given value of data by key in given array values by caseSensitive parameter.

    Parameters

    • key: string
    • values: any[]
    • Optional caseSensitive: boolean

    Returns Predicate

Static lt

  • description

    checks given value of data by key less then given value .

    Parameters

    • key: string
    • value: any

    Returns Predicate

Static lte

  • description

    checks given value of data by key less then or equals given value .

    Parameters

    • key: string
    • value: any

    Returns Predicate

Static neq

  • neq(key: string, value: any, caseSensitive?: boolean): Predicate
  • description

    checks equality given value and given value of data by key.

    Parameters

    • key: string
    • value: any
    • Optional caseSensitive: boolean

    Returns Predicate

Static op

  • op(key: string, op: string, value: any): Predicate

Static or

Static orOperation

Static query

  • query(value: string, ignoreList?: string[]): Predicate

Static startsWith

  • startsWith(key: string, value: any, caseSensitive?: boolean): Predicate
  • description

    checks given value of data by key startsWith given value by caseSensitive parameter.

    Parameters

    • key: string
    • value: any
    • Optional caseSensitive: boolean

    Returns Predicate

Generated using TypeDoc