You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods like db_compute() and db_copy_to() currently require a real database to be tested against. Suggesting the following approach:
Define a db_execute() generic, implement it only for the "TestConnection" class (which would print the SQL) and for "DBIConnection" (which forwards to DBI::dbExecute())
Replace all calls to DBI::dbExecute() with calls to db_execute()
db_save_query() is a little trickier because it has to return the name, and MS SQL needs to mangle it. So probably needs another new generic. (Which I think SAP HANA will also use)
Methods like
db_compute()
anddb_copy_to()
currently require a real database to be tested against. Suggesting the following approach:db_execute()
generic, implement it only for the"TestConnection"
class (which would print the SQL) and for"DBIConnection"
(which forwards toDBI::dbExecute()
)DBI::dbExecute()
with calls todb_execute()
simulate_dbi(...)
, capture outputReference: https://github.com/tidyverse/dbplyr/pull/280/files#r275091349
The text was updated successfully, but these errors were encountered: