Fix #39: Moved dplyr
support in pool
from dplyr
0.5.0 to dplyr
0.7.0, which includes a lot of breaking changes including the addition of a brand new package called dbplyr
. (#42)
For pool
users, the main change is that all the src_*
functions are now gone (from dplyr
and pool
). Therefore, if you had something like:
data <- src_pool(pool) %>% tbl("test")
You can just change it to the simpler:
data <- pool %>% tbl("test")
If you’re still on an old version of dplyr
and want to use pool
as well, please install the package using the tag created for that purpose:
devtools::install_github("rstudio/pool@dplyr-pre-0.7.0-compat")
Changed all time arguments to accept number of seconds, instead of milliseconds. This is because this is what the later
package uses and there was no reason for pool
to be different, except backward compatibility. Since both time arguments to dbPool
(idleTimeout
and validationInterval
) have default values, we’re hoping this change won’t even be noticed by most users. If you were setting either of those directly, however, you will need to update your app if you update the pool
package. (#44)
Dropped the Pool methods around dbConnect
and dbDisconnect
, because these made it easier to lose track of whether you’re operating on a Pool object or on a database connection directly. From now on, only these allow you to get a connection from the pool and return it back, respectively: (#44)
con <- poolCheckout(pool)
poolReturn(con)
later
package for scheduling tasks (#44). This also has the side effect of fixing #40 and #43 since later
allows us to get rid of the naiveScheduler
completely.