$query->orWhereHas laravel 8 code example Example: Laravel query where and Table::where('Column', Value)->where('NewColumn', Value)->get();