powered by
dm
dm_get_all_pks() checks the dm object for set primary keys and returns the tables, the respective primary key columns and their classes.
dm_get_all_pks()
dm_get_all_pks(dm)
A dm object.
A tibble with columns:
"table": table name,
"pk_col": column name(s) of primary key.
Other primary key functions: dm_add_pk(), dm_get_pk(), dm_has_pk(), dm_rm_pk(), enum_pk_candidates()
dm_add_pk()
dm_get_pk()
dm_has_pk()
dm_rm_pk()
enum_pk_candidates()