dm_get_all_pks | R Documentation |
dm
objectdm_get_all_pks()
checks the dm
object for primary keys and
returns the tables and the respective primary key columns.
dm_get_all_pks(dm, table = NULL, ...)
dm |
A |
table |
One or more table names, unquoted,
to return primary key information for.
If given, primary keys are returned in that order.
The default |
... |
These dots are for future extensions and must be empty. |
A tibble with the following columns:
table
table name,
pk_col
column name(s) of primary key, as list of character vectors.
Other primary key functions:
dm_add_pk()
,
dm_add_uk()
,
dm_get_all_uks()
,
dm_has_pk()
,
dm_rm_pk()
,
dm_rm_uk()
,
enum_pk_candidates()
dm_nycflights13() %>%
dm_get_all_pks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.