Documentation ¶
Index ¶
- func MustCount(t *testing.T, db *sqlx.DB, stmt string, args ...interface{}) (cnt int)
- func MustExec(t *testing.T, db *sqlx.DB, stmt string, args ...interface{})
- func MustSelect(t *testing.T, db *sqlx.DB, dest interface{}, stmt string, args ...interface{})
- func NewQConfig(logSQL bool) pg.QConfig
- func NewSqlDB(t *testing.T) *sql.DB
- func NewSqlxDB(t testing.TB) *sqlx.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustSelect ¶ added in v1.12.0
func NewQConfig ¶ added in v1.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.