This server-side API class allows performing various operations with tablesrelated to tables, like table relationships.
getParentTables()
This method is intended to get information about the parent tables for any table, detailing all levels of inheritance.
...
This method is intended to get information about the child tables for any table, detailing all levels of inheritance.
Return:
Type | Description |
---|---|
Array | In there, an array containing the list of tables child to the table specified will return. |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
let table = new SimpleTable('sys_report_chart'); ss.info(table.getChildTables()); |
...