Closed cboettig closed 5 years ago
arkdb:::assert_dbi() currently fails on a pool connection since inherits(pool, "DBIConnection") is FALSE, but DBI methods seem to work directly on pool objects so maybe this assertion is too strong? @noamross any insight here?
inherits(pool, "DBIConnection")
FALSE
pool
Looks like user should just do conn <- poolCheckout(pool) and pass conn instead....
conn <- poolCheckout(pool)
conn
arkdb:::assert_dbi() currently fails on a pool connection since
inherits(pool, "DBIConnection")
isFALSE
, but DBI methods seem to work directly onpool
objects so maybe this assertion is too strong? @noamross any insight here?