Copy = TRUE error using dbpyr and pool package

I am using the pool package to connect the database. But when I do `left_join(my_data, by = "id", copy = TRUE), I get the following error.

Error in UseMethod("db_copy_to") : 
  no applicable method for 'db_copy_to' applied to an object of class "c('Pool', 'R6')"

Note this is not the case with DBI::dbconnect().


─ Session info ────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 4.1.0 (2021-05-18)
 os       Ubuntu 20.04.2 LTS          
 system   x86_64, linux-gnu           
 ui       RStudio                     
 language (EN)                        
 collate  en_ZM.UTF-8                 
 ctype    en_ZM.UTF-8                 
 tz       Africa/Lusaka               
 date     2021-07-21                  

This code portion has given me a work around pool/test-dbplyr.R at 00fad2c2258f40759c4eddb83275dc7b50697bcb · rstudio/pool · GitHub

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.