Learn R Programming

dm (version 0.0.5.9000)

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

Description

This function can remove either one reference between two tables, or all references at once, if argument column = NULL. All arguments may be provided quoted or unquoted.

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 that should no longer be referencing the primary key of ref_table. If NULL, all columns will be evaluated.

ref_table

The table that 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()