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:

TypeDescription
ArrayIn there, an array containing the list of tables parent to the table specified will return.


Example:

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:

TypeDescription
ArrayIn there, an array containing the list of tables child to the table specified will return.


Example:

let table = new SimpleTable('sys_report_chart');
ss.info(table.getChildTables());