tests/testthat/_snaps/DBI-wrap.md

wrapper functions look good

Code
  DBI_wrap("dbExecute")
Output
  function (conn, statement, ...) 
  {
      db_con <- poolCheckout(conn)
      on.exit(poolReturn(db_con))
      DBI::dbExecute(conn = db_con, statement = statement, ... = ...)
  }
  <environment: namespace:pool>


Try the pool package in your browser

Any scripts or data that you put into this service are public.

pool documentation built on March 7, 2023, 6:49 p.m.