interface MultipleForeignKeys<BD, FK extends keyof BD, JK>
Parameter Description BD Type of base data FK Foreign key as Pick JK Key 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:
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
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.