Build the SQL CREATE TABLE definition as a string for the input data.frame
postgresqlBuildTableDefinition(dbObj, name, obj,
field.types = NULL, row.names = TRUE, ...)An SQL string
any DBI object (used only to dispatch according to the engine (e.g., MySQL, Oracle, PostgreSQL, SQLite)
name of the new SQL table
an R object coerceable to data.frame for which we want to create a table
optional named list of the types for each field
in obj
logical, should row.name of value be exported
as a row\_names field? Default is TRUE
reserved for future use
The output SQL statement is a simple CREATE TABLE with
suitable for dbGetQuery
See the Database Interface definition document
DBI.pdf in the base directory of this package
or https://cran.r-project.org/package=DBI.
PostgreSQL,
dbConnect,
dbSendQuery,
dbGetQuery,
fetch,
dbCommit,
dbGetInfo,
dbReadTable.