Interface: CompoundFilterDef

Oracle® JavaScript Extension Toolkit (JET)
17.1.0

G12196-01

Since:
  • 7.0.0
Module:
  • ojdataprovider

QuickNav

Fields

Description

Defines a kind of DataFilter.FilterDef which applies to the compound filter definitions. While CompoundFilterDef is supported for backward compatibility reasons, ExtendedCompoundFilterDef should be used in place of CompoundFilterDef going forward.


Usage

Signature:

interface CompoundFilterDef<D>

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

For additional information visit:


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.<(AttributeFilterDef.<D>|AttributeExprFilterDef.<D>|CompoundFilterDef.<D>)>

Array of FilterDefs on which to apply the operator
Since:
  • 7.0.0

op :CompoundFilterDef.CompoundOperator

Operator to apply for the filter. Valid operators defined in the CompoundFilterOperator union type are the strings:
  • $and The filters in the criteria array will be AND'd.
  • $or The filters in the criteria array will be OR'd.
Since:
  • 7.0.0