R/db_check_misc.R
check_fields_pkeys.Rd
Check if pkeys presents
check_fields_pkeys(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_pkeys(con, "species", fields = c("species_id")) } # }