ropensci / arkdb

Archive and unarchive databases as flat text files
https://docs.ropensci.org/arkdb
Other
78 stars 6 forks source link

Support connections from pool #20

Closed cboettig closed 5 years ago

cboettig commented 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?

cboettig commented 5 years ago

Looks like user should just do conn <- poolCheckout(pool) and pass conn instead....