R/logging.R
write_error_log_entry.Rd
Write an error log entry
write_error_log_entry(conn, target_db_name, table_written = NULL, df, pk_col)
a DB connection
the database to write to
the table that was written to
the data to write
the dataframe col to use as the primary_key
if (FALSE) { # \dontrun{ write_error_log_entry( conn = con, target_db_name = rc_case, table_written = "cases", df = data_written, pk_col = "record_id" ) } # }