powered by
Get a NASIS table key by type and table name
get_NASIS_table_key_by_name( tables, keycol = c("all", "fkey", "pkeyref", "pkey") )
The key column name for the specified table name
character vector of table names
One of: "fkey" the foreign key; "pkeyref" the primary key referenced by the foreign key, or "pkey" the primary key.
if (FALSE) { get_NASIS_table_key_by_name(c("site","phorizon_View_1","not_a_table")) }#'
Run the code above in your browser using DataLab