Versions in this module Expand all Collapse all v0 v0.5.0 Jan 10, 2019 Changes in this version + type DB interface + DeleteRow func(ctx context.Context, row interface{}) error + InsertRow func(ctx context.Context, row interface{}) (sql.Result, error) + Query func(ctx context.Context, result interface{}, filter sqlgen.Filter, ...) error + QueryRow func(ctx context.Context, result interface{}, filter sqlgen.Filter, ...) error + UpdateRow func(ctx context.Context, row interface{}) error + UpsertRow func(ctx context.Context, row interface{}) (sql.Result, error) + type DBGenerator struct + Generator func(t *testing.T) (db DB, sqlDB *sql.DB, close func()) + Name string + func NewDBGenerators(dbSetup func(testDB *testfixtures.TestDatabase, schema *sqlgen.Schema) error) []DBGenerator