Interface: CompoundFilterOperator

Oracle® JavaScript Extension Toolkit (JET)
9.1.0

F30737-01

Signature:

interface CompoundFilterOperator<D>

QuickNav

Fields

CompoundFilterOperator

Version:
  • 9.1.0
Since:
  • 5.0.0
Module:
  • ojdataprovider

Module usage

See JET Module Loading for an overview of module usage within JET.

Typescript Import Format
//To use this interface, import as below.
import {CompoundFilterOperator} from "ojs/ojdataprovider";
Generic Parameters
ParameterDescription
DType of Data

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

The interface for CompoundFilterOperator
Deprecated:
Since Description
7.0.0 Use CompoundFilter instead.

Fields

(static) CompoundOperator :string

CompoundOperator enum

The operators are based on the filtering spec of the RFC 7644 SCIM protocol:
SCIM Filtering

Properties:
Name Type Default Description
$and string $and The filter is only a match if both expressions evaluate to true.
$or string $or The filter is a match if either expression evaluates to true.
Since:
  • 5.0.0

criteria :Array.<FilterOperator.<D>>

Array of FilterOperators on which to apply the operator
Since:
  • 5.0.0

op :CompoundFilterOperator.CompoundOperator

Operator one of enum CompoundOperator {$and, $or}
Since:
  • 5.0.0

Methods

filter(data) : {Array}

Optional function which is used to locally filter the data.
Parameters:
Name Type Description
data Array The data to filter
Since:
  • 5.0.0
Inherited From:
Returns:
filtered data
Type
Array