v0.0.400 added CommentTrimmer and DBOptions to sq
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m16s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m16s
This commit is contained in:
@@ -52,8 +52,7 @@ func TestCreateUpdateStatement(t *testing.T) {
|
||||
|
||||
xdb := tst.Must(sqlx.Open("sqlite", url))(t)
|
||||
|
||||
db := NewDB(xdb)
|
||||
db.RegisterDefaultConverter()
|
||||
db := NewDB(xdb, DBOptions{RegisterDefaultConverter: langext.PTrue})
|
||||
|
||||
_, err := db.Exec(ctx, "CREATE TABLE `requests` ( id TEXT NOT NULL, timestamp INTEGER NOT NULL, PRIMARY KEY (id) ) STRICT", PP{})
|
||||
tst.AssertNoErr(t, err)
|
||||
|
Reference in New Issue
Block a user