pg.copy: A lightweight wrapper around postgresqlCopyInDataframe that...

Description Usage Arguments

Description

A lightweight wrapper around postgresqlCopyInDataframe that allows for custom field lists and temporary tables. It only allows numeric, character, integer, date/time and bool types. It's more useful than dbWriteTable because it allows SQL-copying into tables that have fields other than the data.frame. Also using pg.copy you can SQL-copy in transactions with temp tables.

Usage

1
pg.copy(con, tbl.name, DT)

Arguments

con

PostgreSQLConnection

tbl.name

character

tbl.name

PostgreSQLConnection


adjust/rport documentation built on May 10, 2019, 5:55 a.m.