selectcount(*) as aggregate from (select `bravo_hotels`.*from `bravo_hotels` innerjoin `bravo_locations` on `bravo_locations`.`id` = `bravo_hotels`.`location_id` and `bravo_locations`.`_lft` >='1'and `bravo_locations`.`_rgt` <='2'where `bravo_hotels`.`status` ='publish'and `bravo_hotels`.`deleted_at` isnullgroupby `bravo_hotels`.`id`) as `aggregate_table`4.29ms/modules/Hotel/Controllers/HotelController.php:54ntslibya_new
select*from `bravo_locations` where `bravo_locations`.`id` in (1) and `bravo_locations`.`deleted_at` isnull430μs/modules/Hotel/Controllers/HotelController.php:54ntslibya_new
Metadata
Hints
Use SELECT * only if you need all columns from table
select*from `bravo_location_translations` where `locale` ='en'and `bravo_location_translations`.`origin_id` in (1)730μs/modules/Hotel/Controllers/HotelController.php:54ntslibya_new
Metadata
Bindings
0. en
Hints
Use SELECT * only if you need all columns from table
select*from `bravo_hotel_translations` where `locale` ='en'and `bravo_hotel_translations`.`origin_id` in (9, 11) and `bravo_hotel_translations`.`deleted_at` isnull1.64ms/modules/Hotel/Controllers/HotelController.php:54ntslibya_new
Metadata
Bindings
0. en
Hints
Use SELECT * only if you need all columns from table
select `bravo_terms`.*, `bravo_hotel_term`.`target_id` as `laravel_through_key` from `bravo_terms` innerjoin `bravo_hotel_term` on `bravo_hotel_term`.`term_id` = `bravo_terms`.`id` where `bravo_terms`.`attr_id` ='6'and `bravo_hotel_term`.`target_id` in (9, 11) and `bravo_terms`.`deleted_at` isnull2.83ms/modules/Hotel/Controllers/HotelController.php:54ntslibya_new
selectMIN( price ) AS min_price ,
MAX( price ) AS max_price from `bravo_hotels` where `status` ='publish'and `bravo_hotels`.`deleted_at` isnull limit 1570μs/modules/Hotel/Models/Hotel.php:606ntslibya_new
Metadata
Bindings
0. publish
Hints
LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
select `bravo_terms`.*, (selectcount(*) from `bravo_hotels` innerjoin `bravo_hotel_term` on `bravo_hotels`.`id` = `bravo_hotel_term`.`target_id` where `bravo_terms`.`id` = `bravo_hotel_term`.`term_id` and `bravo_hotels`.`deleted_at` isnull) as `hotel_count` from `bravo_terms` where `bravo_terms`.`attr_id` in (5, 6, 7) and `bravo_terms`.`deleted_at` isnull7.62ms/modules/Hotel/Controllers/HotelController.php:99ntslibya_new
select*from `bravo_attrs_translations` where `locale` ='en'and `bravo_attrs_translations`.`origin_id` in (5, 6, 7)2.29ms/modules/Hotel/Controllers/HotelController.php:99ntslibya_new
Metadata
Bindings
0. en
Hints
Use SELECT * only if you need all columns from table