pg_add_foreign_key: Add a foreign key

Description Usage Arguments Value

View source: R/postgres.r

Description

Add a foreign key

Usage

1
pg_add_foreign_key(con, table_name, column_name, reftable, refcolumn)

Arguments

con

A DBI connection to a postgresql database

table_name

The name of a table in the postgresql database

column_name

The column to put the foreign key constraint on

reftable

The name of the table providing the foreign key constraint

refcolumn

The name of the column providing the foreign key constraint

Value

Nothing


karldw/kdw.junk documentation built on Sept. 8, 2021, 9:30 p.m.