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
How to use for update in gen ? When I use Clauses(clause.Locking{Strength: "UPDATE"}).Find() just like in gorm, I got a err clause FOR is banned
for update
gen
Clauses(clause.Locking{Strength: "UPDATE"}).Find()
gorm
clause FOR is banned
The text was updated successfully, but these errors were encountered:
yeah, clause.Locking has SQL injection risk, i will fix it ASAP
clause.Locking
Sorry, something went wrong.
upgrade to v0.1.28 can fix it
great!
tr1v3r
Successfully merging a pull request may close this issue.
Your Question
How to use
for update
ingen
?When I use
Clauses(clause.Locking{Strength: "UPDATE"}).Find()
just like ingorm
, I got a errclause FOR is banned
The text was updated successfully, but these errors were encountered: