R/expdb_db.R
dbInsertUpdateByRow.Rd
Insert new rows or update existing rows to a specific table according to a specific column (unique) by each row
dbInsertUpdateByRow(con, table, data, unique_col = "name")
A connection object as produced by dbConnect
The target table name
A data frame to write into table
A character vector to indentify each row in the table