- where a and (b or c)
$abc = Apps::where('id',1)->where(
function($q){
$q->where('name','ss')->orWhereIn('type', [1, 2]);
})->first();
$abc = Apps::where('id',1)->where(
function($q){
$q->where('name','ss')->orWhereIn('type', [1, 2]);
})->first();