WebController.php#470tenantinfinity1.06msselectcount(*) as aggregate from `comments` where `comments`.`commentable_type` ='App\Models\Lesson'and `comments`.`commentable_id` =38and `comments`.`commentable_id` isnotnull
LessonService.php#73tenantinfinity1.35msselect*from `files` where `files`.`modal_id` in (288, 319, 354, 412) and `files`.`modal_type` ='App\Models\LessonTopic'
LessonService.php#73tenantinfinity37.83msselect `teachers`.*, (selectcount(*) from `students` innerjoin `enrollments` on `enrollments`.`user_id` = `students`.`user_id` innerjoin `lessons` on `lessons`.`id` = `enrollments`.`lesson_id` where `teachers`.`id` = `lessons`.`teacher_id` and `students`.`deleted_at` isnulland `lessons`.`deleted_at` isnull) as `students_count`, (selectcount(*) from `followables` where `teachers`.`id` = `followables`.`followable_id`) as `followers_count`, (selectcount(*) from `subject_teachers` where `teachers`.`id` = `subject_teachers`.`teacher_id` and `subject_teachers`.`deleted_at` isnull) as `subjects_count`, (selectcount(*) from `lessons` innerjoin `subject_teachers` on `subject_teachers`.`subject_id` = `lessons`.`subject_id` where `teachers`.`id` = `subject_teachers`.`teacher_id` and `lessons`.`deleted_at` isnulland `subject_teachers`.`deleted_at` isnull) as `lessons_teacher_count`, (selectcount(*) from `online_exam_questions` where `teachers`.`id` = `online_exam_questions`.`teacher_id`) as `questions_count` from `teachers` where `teachers`.`id` in (12) and `teachers`.`deleted_at` isnull