R/db_check_misc.R
check_fields_exist.Rd
Check if fields present in table
check_fields_exist(con, tbl, fields)
connexion object returned by DBI::dbConnect()
a character name of the table
a vector of column names in the specified table
if (FALSE) { # \dontrun{ check_fields_exist(con, "species", species_id = "test") } # }