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
[RFC] Deprecate some alias functions in DatabaseQuery #174
Comments
The where and join shortcuts, personally I'm not a fan of littering interfaces with shortcut methods, which is why none of the interfaces have |
Yeah. Probably just missed it in one of the times I went over that stuff and replaced explicit names with |
not a big fan of changing something because of IDE (Intellij or whatever) |
In the CMS we moved our method calls from
join('left')
toleftJoin()
I'm not sure if this really makes sense because it's only a alias function to join() so we have small overhead.Also it makes the API more complex and less maintainable.
Most of the functions are not in the interface which seams to make a problem in IntelliJ IDE so if
we don't remove them they should be in the interface.
Functions for discussion:
[]Join functions
[]where functions
Functions missing in the interface
dateAdd
dateFormat
dump
escape (and alias)
quote (and alias)
quoteName (and alias)
format
Is there a reason why these functions are not in the interface?
The text was updated successfully, but these errors were encountered: