tests/testthat/_snaps/dbi-connection.md

show method prints only host if no user is defined

Code
  con
Output
  <OdbcConnection> localhost

show method prints DISCONNECTED if not valid

Code
  con
Output
  <OdbcConnection> localhost
    DISCONNECTED

show method does not print server if it is not available

Code
  con
Output
  <OdbcConnection>

dbQuoteIdentifier() errors informatively

Code
  dbQuoteIdentifier(con, NA_character_)
Condition
  Error in `dbQuoteIdentifier()`:
  ! `x` can't be `NA`.


rstats-db/odbc documentation built on May 15, 2024, 9:45 a.m.