dbBuildTableQuery: Builds CREATE TABLE query for a data frame object.

Description Usage Arguments Note Author(s)

Description

Builds CREATE TABLE query for a data frame object.

Usage

1
2
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 obj

row.names

logical, should row.name of obj be exported as a row_names field? Default is FALSE

Note

Adapted from RPostgreSQL::postgresqlBuildTableDefinition

Author(s)

David Bucklin


rpostgisLT documentation built on May 2, 2019, 3:04 a.m.