-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Reduce number of binding parameters #893
Comments
Why do you think so? |
@xepozz about these being unnecessary or about performance? |
About unnecessary binding for |
Well, it might be good to bind it for database optimizer but security-wise binding is not needed. |
|
I'm just wondering why should changing |
We can reduce the number of binding parameters by binding only values that need to be quoted (
string
andbinary
values).It is not necessary to bind
null
,bool
,int
andfloat
, these values can be converted to an unquoted string.Expect this to improve performance slightly.
Related issue
The text was updated successfully, but these errors were encountered: