Skip to content

Commit

Permalink
reverted changes for xorm
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Dec 13, 2024
1 parent 3a081cf commit 760866a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/xorm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 760866a

Please sign in to comment.