Build the SQL CREATE TABLE definition as a string
postgresqlBuildTableDefinition.RdBuild the SQL CREATE TABLE definition as a string for the input data.frame
Arguments
- dbObj
any DBI object (used only to dispatch according to the engine (e.g., MySQL, Oracle, PostgreSQL, SQLite)
- name
name of the new SQL table
- obj
an R object coerceable to data.frame for which we want to create a table
- field.types
optional named list of the types for each field in
obj- row.names
logical, should row.name of
valuebe exported as arow\_namesfield? Default is TRUE- ...
reserved for future use
References
See the Database Interface definition document
DBI.pdf in the base directory of this package
or https://cran.r-project.org/package=DBI.