Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustExec ¶
func MustExec(t *testing.T, ds sqlutil.DataSource, stmt string, args ...interface{})
func NewIndependentSqlxDB ¶
NewIndependentSqlxDB return a new independent test database, which does not use txdb and therefore supports txs etc. Use this with caution, as it is much more costly than NewSqlxDB.
func SkipShortDB ¶
SkipShortDB skips tb during -short runs, and notes the DB dependency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.