Documentation ¶
Index ¶
- func ForceEncoder(e interface{}, formatCode int16) interface{}
- func MustClose(t testing.TB, conn interface{ ... })
- func MustCloseContext(t testing.TB, conn interface{ ... })
- func MustConnectDatabaseSQL(t testing.TB, driverName string) *sql.DB
- func MustConnectPgx(t testing.TB) *pgx.Conn
- func TestDatabaseSQLGoZeroToNullConversion(t testing.TB, driverName, pgTypeName string, zero interface{})
- func TestDatabaseSQLNullToGoZeroConversion(t testing.TB, driverName, pgTypeName string, zero interface{})
- func TestDatabaseSQLSuccessfulNormalizeEqFunc(t testing.TB, driverName string, tests []NormalizeTest, ...)
- func TestDatabaseSQLSuccessfulTranscodeEqFunc(t testing.TB, driverName, pgTypeName string, values []interface{}, ...)
- func TestGoZeroToNullConversion(t testing.TB, pgTypeName string, zero interface{})
- func TestNullToGoZeroConversion(t testing.TB, pgTypeName string, zero interface{})
- func TestPgxGoZeroToNullConversion(t testing.TB, pgTypeName string, zero interface{})
- func TestPgxNullToGoZeroConversion(t testing.TB, pgTypeName string, zero interface{})
- func TestPgxSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
- func TestPgxSuccessfulTranscodeEqFunc(t testing.TB, pgTypeName string, values []interface{}, ...)
- func TestSuccessfulNormalize(t testing.TB, tests []NormalizeTest)
- func TestSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
- func TestSuccessfulTranscode(t testing.TB, pgTypeName string, values []interface{})
- func TestSuccessfulTranscodeEqFunc(t testing.TB, pgTypeName string, values []interface{}, ...)
- type NormalizeTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceEncoder ¶
func ForceEncoder(e interface{}, formatCode int16) interface{}
func MustCloseContext ¶
func MustConnectPgx ¶
func TestDatabaseSQLSuccessfulNormalizeEqFunc ¶
func TestDatabaseSQLSuccessfulNormalizeEqFunc(t testing.TB, driverName string, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
func TestPgxSuccessfulNormalizeEqFunc ¶
func TestPgxSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
func TestSuccessfulNormalize ¶
func TestSuccessfulNormalize(t testing.TB, tests []NormalizeTest)
func TestSuccessfulNormalizeEqFunc ¶
func TestSuccessfulNormalizeEqFunc(t testing.TB, tests []NormalizeTest, eqFunc func(a, b interface{}) bool)
func TestSuccessfulTranscode ¶
Types ¶
type NormalizeTest ¶
type NormalizeTest struct { SQL string Value interface{} }
Click to show internal directories.
Click to hide internal directories.