We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
q.ReplaceDB(q.UnderlyingDB().Clauses(clause.OrderBy{ Expression: clause.Expr{SQL: "? ASC NULLS FIRST", Vars: []any{someTable.SomeColumn}}, }))
这样不很奇怪吗? 我还要去使用gorm.DB, 那我用gen做什么呢?希望把expr.setE改为公开的方法。
我建议加一个方法
func (e expr) SetE(expression clause.Expression) expr { return e.setE(expression) }
banColumnRaw Option = func(col clause.Column) clause.Column { col.Raw = false return col }
gorm.DB能做的, gen还要去阻止。
用户已经有这个需求了,既然去建议用户用gorm.DB去折中实现,为什么不能把gen放开一点呢。 也是为了开发便利,希望开发者能考虑一下。
(#1212)
The text was updated successfully, but these errors were encountered:
#1213
Sorry, something went wrong.
No branches or pull requests
Describe the feature
这样不很奇怪吗? 我还要去使用gorm.DB, 那我用gen做什么呢?希望把expr.setE改为公开的方法。
我建议加一个方法
gorm.DB能做的, gen还要去阻止。
Motivation
用户已经有这个需求了,既然去建议用户用gorm.DB去折中实现,为什么不能把gen放开一点呢。
也是为了开发便利,希望开发者能考虑一下。
Related Issues
(#1212)
The text was updated successfully, but these errors were encountered: