@sqlrooms/cells / findSqlDependencies
Function: findSqlDependencies()
findSqlDependencies<
TCell>(opts):string[]
Type Parameters
| Type Parameter |
|---|
TCell extends object |
Parameters
| Parameter | Type |
|---|---|
opts | { targetCell: TCell; cells: Record<string, TCell>; getSqlText: (cell) => string | undefined; getInputVarName: (cell) => string | undefined; getSqlResultName: (cellId) => string | undefined; options?: SqlDependencyOptions; } |
opts.targetCell | TCell |
opts.cells | Record<string, TCell> |
opts.getSqlText | (cell) => string | undefined |
opts.getInputVarName | (cell) => string | undefined |
opts.getSqlResultName | (cellId) => string | undefined |
opts.options? | SqlDependencyOptions |
Returns
string[]
