添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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

I was reading the docs for
https://v2.gorm.io/docs/security.html#SQL-injection-Methods

I believe it would be better if we escape such syntax in all the cases execpt for db.Exec where we wanna execute something on db.

Maybe create a method to drop from db

If we are building app with dynamic column select the user may execute such type of operation on select .