Interface: CompoundFilterOperator

Oracle® JavaScript Extension Toolkit (JET)
17.1.0

G12196-01

Since:
  • 5.0.0
Module:
  • ojdataprovider

Note: This interface is deprecated since 7.0.0. Use alternative: CompoundFilter.

QuickNav

Fields

Description

The interface for CompoundFilterOperator


Usage

Signature:

interface CompoundFilterOperator<D>

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

For additional information visit:


The interface for CompoundFilterOperator

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