Get table primary key fields

get_tbl_pkeys(con, tbl)

Arguments

con

connexion object returned by DBI::dbConnect()

tbl

a character name of the table

Value

Primary key fields as a character vector.

Examples

if (FALSE) { # \dontrun{
     get_tbl_pkeys("species")
} # }