Extract the primary-key column names from either an in-memory data.frame
(via the stamp_pk attribute) or from a sidecar/meta list (a previously
recorded pk element). Returns an empty character vector when none is found.
Arguments
- x_or_meta
Either a data.frame (with attribute
stamp_pk) or a sidecar/meta list as returned byst_read_sidecar().