rq_connection_name {rquery} | R Documentation |
Build a canonical name for a db connection class.
Description
Build a canonical name for a db connection class.
Usage
rq_connection_name(db)
Arguments
db |
Database connection handle. |
Value
character, key version of handle for option lookups.
Examples
if(requireNamespace("DBI", quietly = TRUE) && requireNamespace("RSQLite", quietly = TRUE)) {
my_db <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
print(rq_connection_name(my_db))
DBI::dbDisconnect(my_db)
}
[Package rquery version 1.4.99 Index]