You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
升级1.25.9后,还存在先求数量再更新生成的sql异常情况,案例请看问题二 go-gorm/playground#708
最终生成的sql为
UPDATE "test" SET "a"='222' FROM "test" WHERE a ='111'
ERROR: table name "test" specified more than once (SQLSTATE 42712)
The text was updated successfully, but these errors were encountered:
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年4月10日(星期三) 中午12:45
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [go-gorm/gorm] postgres use gorm v1.25.9 生成的update语句有误 (Issue #6929)
请问一下你是怎么解决的 @a631807682
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
升级1.25.9后,还存在先求数量再更新生成的sql异常情况,案例请看问题二
go-gorm/playground#708
最终生成的sql为
UPDATE "test" SET "a"='222' FROM "test" WHERE a ='111'
ERROR: table name "test" specified more than once (SQLSTATE 42712)
The text was updated successfully, but these errors were encountered: