Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级gaea版本后报错commands out of sync #252

Open
yuyongli opened this issue Jan 19, 2024 · 1 comment
Open

升级gaea版本后报错commands out of sync #252

yuyongli opened this issue Jan 19, 2024 · 1 comment

Comments

@yuyongli
Copy link

go工程,gaea-v1.2.2-linux-amd64-go1.13.4版本之前都能正常运行,升级到gaea-v1.2.5-linux-amd64-go1.13.3后,再次运行相同的gorm查询语句报错commands out of sync. Did you run multiple statements at once
工程中报错的gorm代码如下:orderInfo = new(models.Order)
ret := s.DBHandle.Where("order_id = ?", orderId).Limit(1).Find(orderInfo)

@mianhk
Copy link
Contributor

mianhk commented Feb 1, 2024

嗯,暂时应该还不支持multi statement,可以先在业务侧做一个改造

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants