selectMIN(shot_at) as min_date, MAX(shot_at) as max_date from `media` where `status` ='completed'and `event_id` =124and `media`.`deleted_at` isnull limit 192.31ms/app/Http/Controllers/Media/EventController.php:281runningconnect
deletefrom `cache` where `key` ='laravelUTDM2020:count_completed'7.7ms/vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php:216runningconnect
selectCOUNT(*) AS c from `media` where `type` ='video'and `media`.`status` ='completed'and `is_approved` =1and `media`.`event_id` =124and `media`.`deleted_at` isnull limit 16.04ms/app/Http/Controllers/Media/EventController.php:397runningconnect
select*from `media_runner` where `media_runner`.`media_id` in (0) and `media_runner`.`deleted_at` isnull5.72ms/app/Http/Controllers/Media/EventController.php:397runningconnect
selectCOUNT(*) AS c from `media` where `type` ='image'and `media`.`status` ='completed'and `is_approved` =1and `media`.`event_id` =124and `media`.`deleted_at` isnull limit 152.9ms/app/Http/Controllers/Media/EventController.php:400runningconnect
select*from `media_runner` where `media_runner`.`media_id` in (0) and `media_runner`.`deleted_at` isnull5.74ms/app/Http/Controllers/Media/EventController.php:400runningconnect
select*from `users` where `users`.`id` in (134248) and `users`.`deleted_at` isnull5.94ms/app/Http/Controllers/Media/EventController.php:458runningconnect
select `id` from `events` where `events`.`id` in (124) and `events`.`deleted_at` isnull3.6ms/app/Http/Controllers/Media/EventController.php:458runningconnect
select `id`, `is_watermark`, `event_id`, `height`, `is_frame` from `media_setting` where `media_setting`.`event_id` in (124) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc3.52ms/app/Http/Controllers/Media/EventController.php:458runningconnect