Skip to content

@sqlrooms/cells / findSqlDependencies

Function: findSqlDependencies()

findSqlDependencies<TCell>(opts): string[]

Type Parameters

Type Parameter
TCell extends object

Parameters

ParameterType
opts{ targetCell: TCell; cells: Record<string, TCell>; getSqlText: (cell) => string | undefined; getInputVarName: (cell) => string | undefined; getSqlResultName: (cellId) => string | undefined; options?: SqlDependencyOptions; }
opts.targetCellTCell
opts.cellsRecord<string, TCell>
opts.getSqlText(cell) => string | undefined
opts.getInputVarName(cell) => string | undefined
opts.getSqlResultName(cellId) => string | undefined
opts.options?SqlDependencyOptions

Returns

string[]