This is what I want, I have two tables. one is \'Restaurants\' and other is \'Facilities\'.
The tables are simple.. and One-To-One relations. like there is a restaurant
There are some ways to filter both, this is using QueryBuilder:
Restaurant::join('facilities','facilities.restaurant_id','=','restaurants.id') ->where('name','bbq') ->where('facilities.wifi','!=', 1) ->get();