pg_dropColumn | R Documentation |
Helper command to drop a column via ALTER TABLE.
pg_dropColumn(
column_name,
cascade = FALSE,
restrict = FALSE,
if_exists = FALSE
)
column_name |
A string, the name of the column to drop. |
cascade |
Boolean, if TRUE, adds CASCADE to the DROP COLUMN statement. |
restrict |
Boolean, if TRUE, adds RESTRICT to the DROP COLUMN statement. |
if_exists |
Boolean, if TRUE, adds IF EXISTS to the DROP COLUMN statement. |
A string, PostgreSQL helper statement to drop a column using ALTER TABLE.
pg_dropColumn(
column_name = "newCol"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.