Gda.MetaTable

Fields

Name

Type

Access

Description

columns

[Gda.MetaTableColumn]

r/w

list of Gda.MetaTableColumn structures, one for each column in the table

fk_list

[Gda.MetaTableForeignKey]

r/w

list of Gda.MetaTableForeignKey for this table

pk_cols_array

int

r/w

index of the columns part of the primary key for the table (WARNING: columns numbering here start at 0)

pk_cols_nb

int

r/w

size of the pk_cols_array array

reverse_fk_list

[Gda.MetaTableForeignKey]

r/w

list of Gda.MetaTableForeignKey where the referenced table is this table

Methods

None

Details

class Gda.MetaTable

This structure specifies a Gda.MetaDbObject to represent a table’s specific attributes, its contents must not be modified.

Note that in some cases, the columns cannot be determined for views, and in this case the columns will be None (this can be the case for example with SQLite where a view uses a function which is not natively provided by SQLite.