Skip to contents

A drop-in replacement for DBI::Id(), but with ordered output

Usage

cdr_id(...)

Arguments

...

DB table index parameters, i.e. strings with with labels table, schema, catalog, cluster, database

Value

equivalent DBI::Id() object

Examples

cdr_id(table = 'my_table', schema = 'a_schema', some_new_spec = 'in_case_you_need_it')
#> <Id> schema = a_schema, some_new_spec = in_case_you_need_it, table = my_table
cdr_id(table = 'table_last', schema = 'schema_3rd', cluster = 'clus_1st', catalog = 'cat_2nd')
#> <Id> cluster = clus_1st, catalog = cat_2nd, schema = schema_3rd, table = table_last