Interface: CompoundFilterOperator

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

Signature:

interface CompoundFilterOperator<D>

QuickNav

Fields


PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

CompoundFilterOperator

Version:
  • 7.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 oj.CompoundFilterOperator
Deprecated:
Since Description
7.0.0 Use CompoundFilter instead.

Fields

(static) CompoundOperator :string

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

oj.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>>

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

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

op :oj.CompoundFilterOperator.CompoundOperator

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

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

Methods

filter(data) → {Array}

PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

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