- name
A string, the "name" parameter for PostgreSQL ALTER TABLE statement.
- if_exists
TRUE/FALSE, if TRUE, adds "IF EXISTS" to PostgreSQL ALTER TABLE statement.
- cascade
TRUE/FALSE, if TRUE, adds "CASCADE" to PostgreSQL ALTER TABLE statement.
- restrict
TRUE/FALSE, if TRUE, adds "RESTRICT" to PostgreSQL ALTER TABLE statement.
- action
A string or vector of strings, the "action" parameter for PostgreSQL ALTER TABLE statement.
- con
A database connection that can be passed to DBI::dbSendQuery/DBI::dbGetQuery.