Get index id by unique_columns.
getIdByUniqueIndex(
con,
table,
data,
unique_col = "name",
data_col = unique_col,
ignore_case = FALSE
)
a connection object as produced by dbConnect
the table name
A data frame to write into table
A character vector to identify each row in the table
The column names in the data.frame
Whether ignore_case
id of unique_col