A convenience wrapper around live_connection()
and get_default_conn_name()
Value
A database connection returned by DBI::dbConnect()
or
pool::dbPool()
Examples
library(sqlhelper)
connect(
system.file(
"examples/sqlhelper_db_conf.yml",
package="sqlhelper"
),
exclusive=TRUE
)
default_conn()
#> <SQLiteConnection>
#> Path:
#> Extensions: TRUE