- name
A string, the "table_name" parameter for PostgreSQL CREATE TABLE.
- columns
A named list, names are the SQL column names, values are strings with the SQL column data types, constraints, etc.
- select
A string, the select statement to use to create the table.
- constraints
A named list, names are the SQL constraint names, values are strings with the SQL constraint.
- temporary
TRUE/FALSE, if TRUE, adds "TEMPORARY" to PostgreSQL CREATE TABLE statement.
- if_not_exists
TRUE/FALSE, if TRUE, adds "IF NOT EXISTS" to PostgreSQL CREATE TABLE statement.
- unlogged
TRUE/FALSE, if TRUE, adds "UNLOGGED" to PostgreSQL CREATE TABLE statement.
- con
A database connection that can be passed to DBI::dbSendQuery/DBI::dbGetQuery.