dm (version 0.0.3.9003)

cdm_get_fk: Retrieve the name of the column marked as foreign key, pointing from one table of a dm to another

Description

Retrieve the name of the column marked as foreign key, pointing from one table of a dm to another

Usage

cdm_get_fk(dm, table, ref_table)

Arguments

dm

A dm object.

table

A table in the dm

ref_table

The table which is referenced from table.

See Also

Other foreign key functions: cdm_add_fk, cdm_enum_fk_candidates, cdm_get_all_fks, cdm_has_fk, cdm_rm_fk