Versions in this module Expand all Collapse all v1 v1.1.9 Oct 1, 2018 Changes in this version + func CreateTable(t *testing.T, sqlDB *gosql.DB, tableName, schema string, numRows int, ...) + func IntToEnglish(val int) string + func PGUrl(t testing.TB, servingAddr, prefix string, user *url.Userinfo) (url.URL, func()) + func QueryDatabaseID(sqlDB *gosql.DB, dbName string) (uint32, error) + func QueryTableID(sqlDB *gosql.DB, dbName, tableName string) (uint32, error) + func RowEnglishFn(row int) parser.Datum + func RowIdxFn(row int) parser.Datum + type GenRowFn func(row int) []parser.Datum + func ToRowFn(fn ...GenValueFn) GenRowFn + type GenValueFn func(row int) parser.Datum + func RowModuloFn(modulo int) GenValueFn + type Row struct + func (r *Row) Scan(dest ...interface{}) + type SQLRunner struct + DB *gosql.DB + func MakeSQLRunner(tb testing.TB, db *gosql.DB) *SQLRunner + func (sr *SQLRunner) CheckQueryResults(query string, expected [][]string) + func (sr *SQLRunner) Exec(query string, args ...interface{}) gosql.Result + func (sr *SQLRunner) ExecRowsAffected(expRowsAffected int, query string, args ...interface{}) + func (sr *SQLRunner) Query(query string, args ...interface{}) *gosql.Rows + func (sr *SQLRunner) QueryRow(query string, args ...interface{}) *Row + func (sr *SQLRunner) QueryStr(query string, args ...interface{}) [][]string Incompatible versions in this module v19.2.12+incompatible Jan 12, 2021