MetaStore.schemaGetDependTables

string[] schemaGetDependTables(string tableName)

Get an ordered list of the tables store 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

tableNamethe 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.