# Functions
MustPing pings a database with an exponential backoff.
NewDB instantiates a Connection for a given database/sql connection.
NewDBFromSqlx creates a new Connection object from existing Sqlx.DB.
NewDBFromString instantiates a Connection from a given driver and connection string.
NewExecer creates a new instance of Execer.
SetCache sets this runner's cache.
WrapSqlxExt converts a sqlx.Ext to a *Queryable.
WrapSqlxTx creates a Tx from a sqlx.Tx.
# Variables
Cache caches query results.
TODO: bk - extract all errors to actual err values in the package, and eliminate log.ErrorE hack ErrTxRollbacked occurs when Commit() or Rollback() is called on a transaction that has already been rollbacked.
LogQueriesThreshold is the threshold for logging "slow" queries.
# Interfaces
Connection is a queryable connection and represents a DB or Tx.