| dm_rm_uk | R Documentation |
dm_rm_uk() removes one or more unique keys from a table and leaves the dm object otherwise unaltered.
An error is thrown if no unique key matches the selection criteria.
If the selection criteria are ambiguous, a message with unambiguous replacement code is shown.
Foreign keys are never removed.
dm_rm_uk(dm, table = NULL, columns = NULL, ...)
dm |
A |
table |
A table in the |
columns |
Table columns, unquoted.
To refer to a compound key, use |
... |
These dots are for future extensions and must be empty. |
An updated dm without the indicated unique key(s).
Other primary key functions:
dm_add_pk(),
dm_add_uk(),
dm_get_all_pks(),
dm_get_all_uks(),
dm_has_pk(),
dm_rm_pk(),
enum_pk_candidates()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.