dbInsertUpdateByRow: Insert new rows or update existing rows to a specific table...

Description Usage Arguments

View source: R/expdb_db.R

Description

Insert new rows or update existing rows to a specific table according to a specific column (unique) by each row

Usage

1
dbInsertUpdateByRow(con, table, data, unique_col = "name")

Arguments

con

A connection object as produced by dbConnect

table

The target table name

data

A data frame to write into table

unique_col

A character vector to indentify each row in the table


expDB documentation built on Oct. 9, 2021, 1:07 a.m.