Skip to content

Commit 760866a

Browse files
committed
reverted changes for xorm
1 parent 3a081cf commit 760866a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/basic/xorm/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func main() {
3535
} else if dsn, exists = os.LookupEnv("SQLITE_CONNECTION_STRING"); exists {
3636
db, err = xorm.NewEngine("sqlite", dsn)
3737
} else if dsn, exists = os.LookupEnv("YDB_CONNECTION_STRING"); exists {
38-
dsn += "?go_query_bind=table_path_prefix(/local/xorm),declare,numeric&go_fake_tx=scripting,query&go_query_mode=scripting"
38+
dsn += "?go_query_bind=table_path_prefix(/local/xorm),declare,numeric&go_fake_tx=scripting&go_query_mode=scripting"
3939
db, err = xorm.NewEngine("ydb", dsn)
4040
} else {
4141
panic(envNotFoundMessage)

0 commit comments

Comments
 (0)