Gda.MetaTableForeignKey

Fields

Name

Type

Access

Description

cols_nb

int

r/w

the size of the fk_cols_array, fk_names_array, ref_pk_cols_array and ref_pk_names_array arrays

declared

bool

r

depend_on

Gda.MetaDbObject

r/w

the Gda.MetaDbObject which is referenced by the foreign key

fk_cols_array

int

r/w

the columns’ indexes in meta_table which participate in the constraint (WARNING: columns numbering here start at 1)

fk_name

str

r/w

fk_names_array

str

r/w

the columns’ names in meta_table which participate in the constraint

meta_table

Gda.MetaDbObject

r/w

the Gda.MetaDbObject for which this structure represents a foreign key

on_delete_policy

Gda.MetaForeignKeyPolicy

r

on_update_policy

Gda.MetaForeignKeyPolicy

r

ref_pk_cols_array

int

r/w

the columns’ indexes in depend_on which participate in the constraint (WARNING: columns numbering here start at 1)

ref_pk_names_array

str

r/w

the columns’ names in depend_on which participate in the constraint

Methods

None

Details

class Gda.MetaTableForeignKey

This structure represents a foreign key constraint, its contents must not be modified.