rq_connection_name | R Documentation |
Build a canonical name for a db connection class.
rq_connection_name(db)
db |
Database connection handle. |
character, key version of handle for option lookups.
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.