-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[3.x] Fix when column name includes hyphen (-) #2127
Conversation
What is the root point for this PR? |
when i try this: $users = \App\Users::where('user-phone', 'LIKE', '%123%')->get(); i got this exception:
|
This fixes another "bug" that was added in #2020 |
What's the reason you've closed this PR? |
I think the problem occurred when the column name include hyphen like this |
Thank you for contribution! |
Backport of issue #2127 to tree 3.7
Backport of issue #2127 to tree 3.6
[3.x] Fix when column name includes hyphen (-)
This reverts back mongodb#2020 and mongodb#2127. See explanation here: mongodb#2203
No description provided.