Show:

The class of simple predicate for filtering attribute by value and filter operator.

Constructor

SimplePredicate

(
  • attributePath
  • operator
  • value
)

Parameters:

Methods

and

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using and logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with and logic.

createPredicate

(
  • args
)
BasePredicate

Creates predicate by various parameters.

Parameters:

  • args Object

    Arguments for the predicate.

Returns:

or

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using or logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with or logic.

stringToPredicate

(
  • stringPredicate
)
BasePredicate

Convert string to predicate.

Parameters:

Returns:

toString

() String public

Converts this instance to string.

Returns:

String:

Text representation of the predicate.

Properties

attributePath

String public

The path to the attribute for filtering.

operator

Query.FilterOperator public

The filter operator.

value

String | Number public

The value for filtering.