i try to get results from table with multiple where and/or clauses.
My SQL statement is:
SELECT * FROM tbl WHERE m__Id = 46 AND t_Id = 2 AND (Cab = 2 OR
You can try to use the following code instead:
$pro= model_name::where('col_name', '=', 'value')->get();