Constructors
constructor
- new RelationsFinder(allTables, allViews, maxDepth): RelationsFinder
-
Parameters
-
allTables: any
-
allViews: any
-
maxDepth: number
Methods
findRelations
- findRelations(sourceTblName, subView, excluded): Relation[]
-
Parameters
-
sourceTblName: string
-
subView: string
-
excluded: string[]
multiRelationPaths
- multiRelationPaths(sourceTblName, subView, excluded): string[]
-
Parameters
-
sourceTblName: string
-
subView: string
-
excluded: string[]
Returns string[]
singleRelationPaths
- singleRelationPaths(sourceTblName, subView, excluded): string[]
-
Parameters
-
sourceTblName: string
-
subView: string
-
excluded: string[]
Returns string[]
RelationsFinder class this finder searches for relations between a sourceTable (table of the topView) and a subView (here the targetTable is used)