write_data_safely: Write data.frames to DB addressing pitfalls

Description Usage Arguments

Description

Write data.frames to DB addressing pitfalls

Usage

1
write_data_safely(dbconn, tblname, df, key, safe_columns, blacklist)

Arguments

dbconn

PostgreSQLConnection. The database connection.

tblname

character. The table name to write the data into.

df

data.frame. The data to write.

key

character. The identifier column name.

safe_columns

logical. Whether an error should be thrown if the columns returned are different than what is in the column cache.

blacklist

list. A list of values to not cache.


robertzk/cachemeifyoucan documentation built on May 27, 2019, 10:34 a.m.