dm_get_all_pks: Get all primary keys of a dm object
Description
dm_get_all_pks() checks the dm object for set primary keys and
returns the tables, the respective primary key columns and their classes.
Usage
dm_get_all_pks(dm)
Arguments
dm
A dm object.
Value
A tibble with the following columns:
table
table name,
pk_cols
column name(s) of primary key.
Compound keys
Currently, keys consisting of more than one column are not supported.
This feature is planned for dm 0.2.0.
Therefore the pk_cols column may contain vectors of length greater than one.