Those magic where methods have been taken out of the Laravel docs in recent versions; I wonder if they will continue to be supported...
Aug 3, 2018
3
Level 3
Shortcut of Where.
Hi All,
If you would like to query like this
Modal::where('some_column', 'some value')->get();
You can code it this way.
Modal::whereSomeColumn('some value')->get();
The result will be the same.
Unfortunately, this will only work when you are looking for the equal value. It doesn't work with !=.
Please or to participate in this conversation.