-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rows_insert
does not work with the pool package
#1343
Comments
The first argument of |
Sorry I messed up the example. It should be this. Everything is the same, but using pool I get the error and with DBI I don't.
|
I fixed the issue that no method But then the Pool package still needs to add a method So the best thing for you would be to checkout the connection from pool. Otherwise, this can't work I'm afraid. |
thanks. |
You can read about checking out a connection in the documentation. |
rows_insert
does not work for me with the pool package even using today's dev version of dbplyr and R version 4.2.0. The other packages are up to date on CRAN. Maybe my R is too old?I'd expect to get the mtcars database with an extra row with just cyl=3. Instead I get this error:
Error in UseMethod("rows_insert") :
no applicable method for 'rows_insert' applied to an object of class "c('Pool', 'R6')"
The text was updated successfully, but these errors were encountered: