Answer the question
In order to leave comments, you need to log in
How to search across multiple columns in Eloquent?
There is a where method
I read the documentation, but could not understand how to find a string by several columns, for example, by status and author, how can this be done?
$orders = Order::where('status', '=', 0)->get();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question