Laravel Multiple Where Condition in Query Builder
In our projects we have a situation where we need to implement multiple where clause in one query.
1 2 3 4 5 6 7 8 9 |
<?php DB::table('voc_bearing_details') ->select('voc_bearing_details.*') ->where("voc_id",$voc_id) ->where("voc_bearing_details.id",$bearing_id) ->get(); ?> // Output: 2020-01-21 |