$result->where([
['code', '=', 'vodakanal'],
['value', '=', 'yes'],
]);$result->where(function($query) {
$query->where('code', 'test')
->where('value', 'yes');
});Table::where([
['value','yes'],
[
function($q) {
return $q
->where('code','vodakanal')
->orWhere('code','test');
}
]
])->get();Table это имя модели или $result - что там у вас в немselect * from `table` where (`value` = ? and (`code` = ? or `code` = ?))Table::where('value','yes')->whereIn('code',['vodakanal','test'])->get();