Skip to content

How would I do the opposite of ->where('array_field', 'all', ['item']) #2114

Answered by fidan-mkdir
fidan-mkdir asked this question in Q&A
Discussion options

You must be logged in to vote

Wow, was it as simple as $users = User::where('permissions','!=, 'admin admin')->get(); or am I missing something, I've wasted more than an hour to try this..

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fidan-mkdir
Comment options

Answer selected by fidan-mkdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant