Replies: 1 comment
-
Hi. orWhere can lead to data leaks if not used properly. You can create macros and use those. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
The
whereKey()
andwhereKeyNot()
methods fromEloquent\Builder
were added in Laravel 5.x, and I love using them because of the ability to pass different data types (models, arrays, etc) .But for all this time I could not find a PR that would suggest adding the
orWhereKey()
andorWhereKeyNot()
methods for "or where" clause.Or am I the only one missing these methods? :D
I think this would be a useful new syntactic sugar for many.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions