dbBuildTableQuery {rpostgis} | R Documentation |
Builds CREATE TABLE query for a data frame object.
Description
Builds CREATE TABLE query for a data frame object.
Usage
dbBuildTableQuery(
conn = NULL,
name,
obj,
field.types = NULL,
row.names = FALSE
)
Arguments
conn |
A PostgreSQL connection |
name |
Table name string, length 1-2. |
obj |
A data frame object. |
field.types |
optional named list of the types for each field in |
row.names |
logical, should row.name of |
Note
Adapted from RPostgreSQL::postgresqlBuildTableDefinition
[Package rpostgis version 1.5.1 Index]