schema_get_depend_tables


Description:

public SList<unowned string> schema_get_depend_tables (string table_name)

Get an ordered list of the tables this knows about on which the table_name table depends (recursively).

The tables are ordered in a way that tables dependencies are respected: if table B has a foreign key on table A, then table A will be listed before table B in the returned list.

Parameters:

this

a MetaStore object

table_name

the name of the table for which all the dependencies must be listed

Returns:

a new list of tables names (as gchar*), the list must be freed when no longer needed, but the strings present in the list must not be modified.