Interface: MultipleForeignKeys

Oracle® JavaScript Extension Toolkit (JET)
17.0.0

F92240-01

Since:
  • 10.0.0
Module:
  • ojjoiningdataprovider

QuickNav

Fields

Usage

Signature:

interface MultipleForeignKeys<BD, FK extends keyof BD, JK>

Generic Parameters
ParameterDescription
BDType of base data
FKForeign key as Pick
JKKey of joined data
Typescript Import Format
//To use this interface, import as below.
import JoiningDataProvider= require("ojs/ojjoiningdataprovider");

//To access this interface in your code,
let myVariable: JoiningDataProvider.MultipleForeignKeys;

For additional information visit:


Fields

foreignKeys :FK

An array of data attributes from which to get (or to be mapped to if a transform function is provided) the foreign key for a join
Since:
  • 10.0.0

transform :(key: object) => FK

A function that returns the foreign key for a join. The function will be passed the data from the attributes specified by the "foreignKeys" property. If this is not specified, the value from foreignKeys will be used as the foreign key.
Since:
  • 10.0.0