-
Notifications
You must be signed in to change notification settings - Fork 101
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
Connection::insert is escaping identifiers - inconsistency and compatibility break #64
Comments
All should quote :) |
This should be fixed in Doctrine itself, isn't? Original implementation of insert also does not escape. And it also does something more then Kdyby implementation. Why is method |
Doctrine thinks this is a feature, I think we should override those methods and fix them. |
I think overriding is temporary solution if it can be in Doctrine. |
Temporary solution is better than none. And I'm telling you, they won't make it easy for you to push this feature directly to doctrine. But hey, you can try and I will be glad if you succeed. |
I may will try it because it looks for me easier then keep own updated methods in sync with Doctrine. However if they will be too hard against this feature I will accept it. |
Code
Current state is that insert quotes and update and delete don't.
Either all functions should quote or it should be delegated to utility class DirectDataPersistor<insert,update,delete> (preferably with better name).
The text was updated successfully, but these errors were encountered: