dm (version 0.0.3.9003)

cdm_rm_fk: Remove reference(s) from one table of a dm to another

Description

Can either remove one reference between the two tables or all at once if parameter column = NULL. All parameters can be provided unquoted or quoted.

Usage

cdm_rm_fk(dm, table, column, ref_table)

Arguments

dm

A dm object.

table

A table in the dm

column

The column of table which should no longer be referencing the primary key of ref_table. If NULL, all columns will be considered.

ref_table

The table which table was referencing.

See Also

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