dm_get_pk: Retrieve the name of the primary key column of a dm table
Description
dm_get_pk() returns the name of the
column marked as primary key of a table of a dm object.
If no primary key is
set for the table, an empty character vector is returned.
Usage
dm_get_pk(dm, table)
Arguments
dm
A dm object.
table
A table in the dm.
Value
A character vector with the column name(s) of the primary key of table.