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

insufficient arguments 我在使用 PostgreSQL 时遇到的情况,g.ApplyBasic(g.GenerateAllTable()...,) 报错: #1154

Closed
1802211208 opened this issue May 28, 2024 · 1 comment

Comments

@1802211208
Copy link

          请问您这个问题解决了吗?我在使用 PostgreSQL 时遇到了类似的情况,`g.ApplyBasic(g.GenerateAllTable()...,)` 报错:
2024/03/25 18:44:45 /web-backend/cmd/postgres/generate.go:34 insufficient arguments
[0.238ms] [rows:-] SELECT * FROM "users" LIMIT 1

Originally posted by @MondayCha in #1022 (comment)

@HoneyBBQ
Copy link

HoneyBBQ commented Jun 4, 2024

          请问您这个问题解决了吗?我在使用 PostgreSQL 时遇到了类似的情况,`g.ApplyBasic(g.GenerateAllTable()...,)` 报错:
2024/03/25 18:44:45 /web-backend/cmd/postgres/generate.go:34 insufficient arguments
[0.238ms] [rows:-] SELECT * FROM "users" LIMIT 1

Originally posted by @MondayCha in #1022 (comment)

将gorm.io/driver/postgres升级到最新版即可

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

3 participants