From 760866a6528de127ce6a60d6b2ffd6de3f1ff251 Mon Sep 17 00:00:00 2001 From: Aleksey Myasnikov Date: Fri, 13 Dec 2024 14:42:53 +0300 Subject: [PATCH] reverted changes for xorm --- examples/basic/xorm/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic/xorm/main.go b/examples/basic/xorm/main.go index ffba24b30..8a0961af5 100644 --- a/examples/basic/xorm/main.go +++ b/examples/basic/xorm/main.go @@ -35,7 +35,7 @@ func main() { } else if dsn, exists = os.LookupEnv("SQLITE_CONNECTION_STRING"); exists { db, err = xorm.NewEngine("sqlite", dsn) } else if dsn, exists = os.LookupEnv("YDB_CONNECTION_STRING"); exists { - dsn += "?go_query_bind=table_path_prefix(/local/xorm),declare,numeric&go_fake_tx=scripting,query&go_query_mode=scripting" + dsn += "?go_query_bind=table_path_prefix(/local/xorm),declare,numeric&go_fake_tx=scripting&go_query_mode=scripting" db, err = xorm.NewEngine("ydb", dsn) } else { panic(envNotFoundMessage)