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