default_conn | R Documentation |
A convenience wrapper around live_connection()
and get_default_conn_name()
default_conn()
A database connection returned by DBI::dbConnect()
or
pool::dbPool()
library(sqlhelper)
connect(
system.file(
"examples/sqlhelper_db_conf.yml",
package="sqlhelper"
),
exclusive=TRUE
)
default_conn()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.