]> 127.0.0.1 Git - part/.git/commitdiff
1 v0.28.20241111143002
authorqydysky <qydysky@foxmail.com>
Mon, 11 Nov 2024 14:21:48 +0000 (22:21 +0800)
committerqydysky <qydysky@foxmail.com>
Mon, 11 Nov 2024 14:21:48 +0000 (22:21 +0800)
log/Log_test.go

index 49aecc474221a31115d23f1b7b50e975e4e444df..e2232f01adb29a3606b7d5ba3b845e7ee0ce6b9d 100644 (file)
@@ -51,7 +51,7 @@ func Test_2(t *testing.T) {
        {
                tx := psql.BeginTx[any](db, pctx.GenTOCtx(time.Second), &sql.TxOptions{})
                tx = tx.Do(psql.SqlFunc[any]{
-                       Query:      "create table log (p test,base text,msg text)",
+                       Sql:        "create table log (p test,base text,msg text)",
                        SkipSqlErr: true,
                })
                if _, err := tx.Fin(); err != nil {