-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
feat: support native SQL as custom fields #1213
base: master
Are you sure you want to change the base?
Conversation
When can this be merged? |
anxious! |
I need it. |
@tr1v3r 急需此功能pr,能否合并发版? |
作者直接忽视咱们 |
这个可能会引入SQL注入漏洞 |
有道理,请教一下如果我需要使用sql原生的function应该怎么做呢? |
原本的设计是使用动态SQL做:https://gorm.io/gen/dynamic_sql.html, |
还有一种解决方案: |
好的。多谢 |
NewUnsafeFieldRaw请问这个函数在哪个包下面? |
就是这个PR的,不过还没有改名,改名之后可以合入 |
大佬,换个名字吧。这个PR等了个把月了 @mimicode |
What did this pull request do?
support native SQL as custom fields
User Case Description