GET https://963174.dev-4.sksp.site/api/school/students/courses

Query Metrics

9 Database Queries
8 Different statements
3.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.80 ms
(23.44%)
2
SELECT t0.email AS email_1, t0.login AS login_2, t0.display_password AS display_password_3, t0.roles AS roles_4, t0.password AS password_5, t0.active AS active_6, t0.last_login AS last_login_7, t0.unsubscribe_email_notification_token AS unsubscribe_email_notification_token_8, t0.name AS name_9, t0.phone AS phone_10, t0.phone_webinar AS phone_webinar_11, t0.city AS city_12, t0.sex AS sex_13, t0.timezone AS timezone_14, t0.about_self AS about_self_15, t0.last_active_at AS last_active_at_16, t0.change_password_token AS change_password_token_17, t0.user_change_password AS user_change_password_18, t0.last_change_email_date AS last_change_email_date_19, t0.unsubscription_email_notify_token AS unsubscription_email_notify_token_20, t0.union_auth_key AS union_auth_key_21, t0.related_services AS related_services_22, t0.id AS id_23, t0.create_at AS create_at_24, t0.update_at AS update_at_25, t0.uuid AS uuid_26, t0.avatar_id AS avatar_id_27, t28.name AS name_29, t28.type AS type_30, t28.mime AS mime_31, t28.bucket AS bucket_32, t28.path AS path_33, t28.dir AS dir_34, t28.size AS size_35, t28.chunked AS chunked_36, t28.chunked_metadata AS chunked_metadata_37, t28.chunked_token AS chunked_token_38, t28.entity_owner_name AS entity_owner_name_39, t28.entity_owner_id AS entity_owner_id_40, t28.kinescope_id AS kinescope_id_41, t28.kinescope_short_id AS kinescope_short_id_42, t28.audio_time AS audio_time_43, t28.audio_average_frequency AS audio_average_frequency_44, t28.multipart_upload_id AS multipart_upload_id_45, t28.restore_information AS restore_information_46, t28.deleted AS deleted_47, t28.deleted_at AS deleted_at_48, t28.path_deleted AS path_deleted_49, t28.id AS id_50, t28.create_at AS create_at_51, t28.update_at AS update_at_52, t28.uuid AS uuid_53, t28.school_id AS school_id_54, t28.lesson_module_file_id AS lesson_module_file_id_55, t28.homework_answer_audio_id AS homework_answer_audio_id_56, t28.question_fail_comment_file_id AS question_fail_comment_file_id_57, t28.question_success_comment_file_id AS question_success_comment_file_id_58, t28.answer_digit_comment_file_id AS answer_digit_comment_file_id_59, t28.answer_image_and_select_comment_file_id AS answer_image_and_select_comment_file_id_60, t28.answer_select_image_comment_file_id AS answer_select_image_comment_file_id_61, t28.answer_select_comment_file_id AS answer_select_comment_file_id_62, t28.answer_digit_type_comment_file_id AS answer_digit_type_comment_file_id_63, t28.answer_comment_file_id AS answer_comment_file_id_64 FROM users t0 LEFT JOIN file t28 ON t0.avatar_id = t28.id WHERE t0.uuid = ? LIMIT 1
Parameters:
[
  "d00efc1d-8022-4d38-ac0e-0713420d962e"
]
0.78 ms
(22.85%)
1
SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.name AS name_2, c0_.slug AS slug_3, c0_.sort AS sort_4, c0_.short_description AS short_description_5, c0_.description AS description_6, c0_.includes AS includes_7, c0_.published AS published_8, c0_.closed AS closed_9, c0_.price AS price_10, c0_.old_price AS old_price_11, c0_.custom_payment_link AS custom_payment_link_12, c0_.free_first_step AS free_first_step_13, c0_.private_status AS private_status_14, c0_.show_reviews AS show_reviews_15, c0_.add_to_default_flow_after_payment AS add_to_default_flow_after_payment_16, c0_.hard_sequence AS hard_sequence_17, c0_.create_at AS create_at_18, c0_.update_at AS update_at_19, c0_.use_landing_external_url AS use_landing_external_url_20, c0_.landing_external_url AS landing_external_url_21, c0_.copy_protected AS copy_protected_22, c0_.video_protected AS video_protected_23, c0_.background_dimming AS background_dimming_24, c0_.background_mobile_dimming AS background_mobile_dimming_25, c0_.mobile_background_type AS mobile_background_type_26, f1_.bucket AS bucket_27, f1_.path AS path_28, f2_.bucket AS bucket_29, f2_.path AS path_30, f3_.bucket AS bucket_31, f3_.path AS path_32, c0_.flow_to_add_id AS sclr_33, f4_.uuid AS uuid_34, f4_.name AS name_35, c0_.payment_gateway_id AS sclr_36, p5_.name AS name_37, p5_.type AS type_38, c0_.installment_gateway_id AS sclr_39, p6_.name AS name_40, p6_.type AS type_41 FROM course c0_ LEFT JOIN file f1_ ON c0_.cover_id = f1_.id LEFT JOIN file f2_ ON c0_.background_id = f2_.id LEFT JOIN file f3_ ON c0_.mobile_background_id = f3_.id LEFT JOIN flow f4_ ON c0_.flow_to_add_id = f4_.id LEFT JOIN payment_gateway p5_ ON c0_.payment_gateway_id = p5_.id LEFT JOIN payment_gateway_yandex_kassa p7_ ON p5_.id = p7_.id LEFT JOIN payment_gateway_tinkoff p8_ ON p5_.id = p8_.id LEFT JOIN payment_gateway_prodamus p9_ ON p5_.id = p9_.id LEFT JOIN payment_gateway_mandarin_pay p10_ ON p5_.id = p10_.id LEFT JOIN payment_gateway_mandarin_pay_installment p11_ ON p5_.id = p11_.id LEFT JOIN payment_gateway_development_resource_installment p12_ ON p5_.id = p12_.id LEFT JOIN payment_gateway_development_resource_v2_installment p13_ ON p5_.id = p13_.id LEFT JOIN payment_gateway_be_paid p14_ ON p5_.id = p14_.id LEFT JOIN payment_gateway_cloud_payments p15_ ON p5_.id = p15_.id LEFT JOIN payment_gateway_gazprom p16_ ON p5_.id = p16_.id LEFT JOIN payment_gateway_tochka p17_ ON p5_.id = p17_.id LEFT JOIN payment_gateway_mandarin p18_ ON p5_.id = p18_.id LEFT JOIN payment_gateway_vtb p19_ ON p5_.id = p19_.id LEFT JOIN payment_gateway p6_ ON c0_.installment_gateway_id = p6_.id LEFT JOIN payment_gateway_yandex_kassa p20_ ON p6_.id = p20_.id LEFT JOIN payment_gateway_tinkoff p21_ ON p6_.id = p21_.id LEFT JOIN payment_gateway_prodamus p22_ ON p6_.id = p22_.id LEFT JOIN payment_gateway_mandarin_pay p23_ ON p6_.id = p23_.id LEFT JOIN payment_gateway_mandarin_pay_installment p24_ ON p6_.id = p24_.id LEFT JOIN payment_gateway_development_resource_installment p25_ ON p6_.id = p25_.id LEFT JOIN payment_gateway_development_resource_v2_installment p26_ ON p6_.id = p26_.id LEFT JOIN payment_gateway_be_paid p27_ ON p6_.id = p27_.id LEFT JOIN payment_gateway_cloud_payments p28_ ON p6_.id = p28_.id LEFT JOIN payment_gateway_gazprom p29_ ON p6_.id = p29_.id LEFT JOIN payment_gateway_tochka p30_ ON p6_.id = p30_.id LEFT JOIN payment_gateway_mandarin p31_ ON p6_.id = p31_.id LEFT JOIN payment_gateway_vtb p32_ ON p6_.id = p32_.id WHERE c0_.school_id = ? AND c0_.deleted = ? ORDER BY c0_.sort ASC
Parameters:
[
  50
  0
]
0.63 ms
(18.29%)
1
SELECT COUNT(c0_.id) AS sclr_0, c1_.id AS id_1 FROM course_user c0_ LEFT JOIN course c1_ ON c0_.course_id = c1_.id WHERE c1_.school_id = ? AND c1_.deleted = ? AND c0_.role = ? GROUP BY c1_.id
Parameters:
[
  50
  0
  "ROLE_STUDENT"
]
0.32 ms
(9.21%)
1
SELECT t0.role AS role_1, t0.last_role AS last_role_2, t0.visibility_in_student_dialogues AS visibility_in_student_dialogues_3, t0.comment AS comment_4, t0.last_course_finished_at AS last_course_finished_at_5, t0.last_active_at AS last_active_at_6, t0.student_status AS student_status_7, t0.student_status_changed_at AS student_status_changed_at_8, t0.webhook_session_end_send AS webhook_session_end_send_9, t0.use_school_custom_employee_role AS use_school_custom_employee_role_10, t0.school_custom_employee_role_actions AS school_custom_employee_role_actions_11, t0.contact_biography AS contact_biography_12, t0.contact_phone AS contact_phone_13, t0.contact_vk AS contact_vk_14, t0.contact_tg AS contact_tg_15, t0.student_profile_name AS student_profile_name_16, t0.employee_all_course_access AS employee_all_course_access_17, t0.sort_student_name AS sort_student_name_18, t0.id AS id_19, t0.create_at AS create_at_20, t0.update_at AS update_at_21, t0.school_id AS school_id_22, t23.name AS name_24, t23.default_slug AS default_slug_25, t23.slug AS slug_26, t23.domain AS domain_27, t23.description AS description_28, t23.primary_color AS primary_color_29, t23.balance AS balance_30, t23.amo_company_id AS amo_company_id_31, t23.amo_register_deal_id AS amo_register_deal_id_32, t23.roistat AS roistat_33, t23.tagline AS tagline_34, t23.kinescope_project_id AS kinescope_project_id_35, t23.generate_invite_user_id AS generate_invite_user_id_36, t23.kinescope_player_id AS kinescope_player_id_37, t23.allow_self_register AS allow_self_register_38, t23.confirm_registration_code AS confirm_registration_code_39, t23.confirm_registration_code_sent_date AS confirm_registration_code_sent_date_40, t23.confirm_registration_code_sent_count AS confirm_registration_code_sent_count_41, t23.confirm_registration_finished AS confirm_registration_finished_42, t23.confirm_registration_skipped AS confirm_registration_skipped_43, t23.active AS active_44, t23.storage_size AS storage_size_45, t23.last_storage_size_calculation AS last_storage_size_calculation_46, t23.clear_storage_files AS clear_storage_files_47, t23.cover_dimming AS cover_dimming_48, t23.cover_mobile_dimming AS cover_mobile_dimming_49, t23.mobile_cover_type AS mobile_cover_type_50, t23.disable_clear_storage AS disable_clear_storage_51, t23.id AS id_52, t23.create_at AS create_at_53, t23.update_at AS update_at_54, t23.sort AS sort_55, t23.uuid AS uuid_56, t23.owner_id AS owner_id_57, t23.logo_id AS logo_id_58, t23.favicon_id AS favicon_id_59, t23.avatar_id AS avatar_id_60, t23.cover_id AS cover_id_61, t23.mobile_cover_id AS mobile_cover_id_62, t23.cover_change_id AS cover_change_id_63, t23.plan_id AS plan_id_64, t23.subscription_id AS subscription_id_65, t23.schoolChannel AS schoolChannel_66, t23.schoolGroup AS schoolGroup_67, t23.discount_id AS discount_id_68, t0.user_id AS user_id_69, t70.email AS email_71, t70.login AS login_72, t70.display_password AS display_password_73, t70.roles AS roles_74, t70.password AS password_75, t70.active AS active_76, t70.last_login AS last_login_77, t70.unsubscribe_email_notification_token AS unsubscribe_email_notification_token_78, t70.name AS name_79, t70.phone AS phone_80, t70.phone_webinar AS phone_webinar_81, t70.city AS city_82, t70.sex AS sex_83, t70.timezone AS timezone_84, t70.about_self AS about_self_85, t70.last_active_at AS last_active_at_86, t70.change_password_token AS change_password_token_87, t70.user_change_password AS user_change_password_88, t70.last_change_email_date AS last_change_email_date_89, t70.unsubscription_email_notify_token AS unsubscription_email_notify_token_90, t70.union_auth_key AS union_auth_key_91, t70.related_services AS related_services_92, t70.id AS id_93, t70.create_at AS create_at_94, t70.update_at AS update_at_95, t70.uuid AS uuid_96, t70.avatar_id AS avatar_id_97, t0.employee_role_id AS employee_role_id_98, t0.student_profile_avatar_id AS student_profile_avatar_id_99, t100.name AS name_101, t100.type AS type_102, t100.mime AS mime_103, t100.bucket AS bucket_104, t100.path AS path_105, t100.dir AS dir_106, t100.size AS size_107, t100.chunked AS chunked_108, t100.chunked_metadata AS chunked_metadata_109, t100.chunked_token AS chunked_token_110, t100.entity_owner_name AS entity_owner_name_111, t100.entity_owner_id AS entity_owner_id_112, t100.kinescope_id AS kinescope_id_113, t100.kinescope_short_id AS kinescope_short_id_114, t100.audio_time AS audio_time_115, t100.audio_average_frequency AS audio_average_frequency_116, t100.multipart_upload_id AS multipart_upload_id_117, t100.restore_information AS restore_information_118, t100.deleted AS deleted_119, t100.deleted_at AS deleted_at_120, t100.path_deleted AS path_deleted_121, t100.id AS id_122, t100.create_at AS create_at_123, t100.update_at AS update_at_124, t100.uuid AS uuid_125, t100.school_id AS school_id_126, t100.lesson_module_file_id AS lesson_module_file_id_127, t100.homework_answer_audio_id AS homework_answer_audio_id_128, t100.question_fail_comment_file_id AS question_fail_comment_file_id_129, t100.question_success_comment_file_id AS question_success_comment_file_id_130, t100.answer_digit_comment_file_id AS answer_digit_comment_file_id_131, t100.answer_image_and_select_comment_file_id AS answer_image_and_select_comment_file_id_132, t100.answer_select_image_comment_file_id AS answer_select_image_comment_file_id_133, t100.answer_select_comment_file_id AS answer_select_comment_file_id_134, t100.answer_digit_type_comment_file_id AS answer_digit_type_comment_file_id_135, t100.answer_comment_file_id AS answer_comment_file_id_136 FROM school_user t0 LEFT JOIN schools t23 ON t0.school_id = t23.id LEFT JOIN users t70 ON t0.user_id = t70.id LEFT JOIN file t100 ON t0.student_profile_avatar_id = t100.id WHERE t0.school_id = ? AND t0.user_id = ?
Parameters:
[
  50
  5907
]
0.30 ms
(8.67%)
1
SELECT s0_.name AS name_0, s0_.default_slug AS default_slug_1, s0_.slug AS slug_2, s0_.domain AS domain_3, s0_.description AS description_4, s0_.primary_color AS primary_color_5, s0_.balance AS balance_6, s0_.amo_company_id AS amo_company_id_7, s0_.amo_register_deal_id AS amo_register_deal_id_8, s0_.roistat AS roistat_9, s0_.tagline AS tagline_10, s0_.kinescope_project_id AS kinescope_project_id_11, s0_.generate_invite_user_id AS generate_invite_user_id_12, s0_.kinescope_player_id AS kinescope_player_id_13, s0_.allow_self_register AS allow_self_register_14, s0_.confirm_registration_code AS confirm_registration_code_15, s0_.confirm_registration_code_sent_date AS confirm_registration_code_sent_date_16, s0_.confirm_registration_code_sent_count AS confirm_registration_code_sent_count_17, s0_.confirm_registration_finished AS confirm_registration_finished_18, s0_.confirm_registration_skipped AS confirm_registration_skipped_19, s0_.active AS active_20, s0_.storage_size AS storage_size_21, s0_.last_storage_size_calculation AS last_storage_size_calculation_22, s0_.clear_storage_files AS clear_storage_files_23, s0_.cover_dimming AS cover_dimming_24, s0_.cover_mobile_dimming AS cover_mobile_dimming_25, s0_.mobile_cover_type AS mobile_cover_type_26, s0_.disable_clear_storage AS disable_clear_storage_27, s0_.id AS id_28, s0_.create_at AS create_at_29, s0_.update_at AS update_at_30, s0_.sort AS sort_31, s0_.uuid AS uuid_32, s0_.owner_id AS owner_id_33, s0_.logo_id AS logo_id_34, s0_.favicon_id AS favicon_id_35, s0_.avatar_id AS avatar_id_36, s0_.cover_id AS cover_id_37, s0_.mobile_cover_id AS mobile_cover_id_38, s0_.cover_change_id AS cover_change_id_39, s0_.plan_id AS plan_id_40, s0_.subscription_id AS subscription_id_41, s0_.schoolChannel AS schoolChannel_42, s0_.schoolGroup AS schoolGroup_43, s0_.discount_id AS discount_id_44 FROM schools s0_ WHERE s0_.slug = ? OR s0_.default_slug = ? LIMIT 1
Parameters:
[
  "963174"
  "963174"
]
0.27 ms
(7.83%)
1
SELECT t0.chat_schoolwide_channel AS chat_schoolwide_channel_1, t0.chat_schoolwide_group AS chat_schoolwide_group_2, t0.chat_flow_autocreate_channel AS chat_flow_autocreate_channel_3, t0.chat_flow_autocreate_group AS chat_flow_autocreate_group_4, t0.white_label_hide_logo AS white_label_hide_logo_5, t0.hide_app_links_from_email AS hide_app_links_from_email_6, t0.request_missing_user_data AS request_missing_user_data_7, t0.smtp_enabled AS smtp_enabled_8, t0.smtp_host AS smtp_host_9, t0.smtp_port AS smtp_port_10, t0.smtp_username AS smtp_username_11, t0.smtp_password AS smtp_password_12, t0.smtp_from AS smtp_from_13, t0.close_from_search_engines AS close_from_search_engines_14, t0.close_from_search_engine_custom_domain AS close_from_search_engine_custom_domain_15, t0.custom_css AS custom_css_16, t0.language AS language_17, t0.id AS id_18, t0.create_at AS create_at_19, t0.update_at AS update_at_20, t0.school_id AS school_id_21 FROM school_settings t0 WHERE t0.school_id = ?
Parameters:
[
  50
]
0.18 ms
(5.32%)
1
SELECT COUNT(f0_.id) AS sclr_0, c1_.id AS id_1 FROM flow f0_ LEFT JOIN course c1_ ON f0_.course_id = c1_.id LEFT JOIN schools s2_ ON c1_.school_id = s2_.id WHERE c1_.deleted = ? AND c1_.school_id = ? GROUP BY c1_.id
Parameters:
[
  0
  50
]
0.15 ms
(4.38%)
1
SELECT t0.name AS name_1, t0.type AS type_2, t0.mime AS mime_3, t0.bucket AS bucket_4, t0.path AS path_5, t0.dir AS dir_6, t0.size AS size_7, t0.chunked AS chunked_8, t0.chunked_metadata AS chunked_metadata_9, t0.chunked_token AS chunked_token_10, t0.entity_owner_name AS entity_owner_name_11, t0.entity_owner_id AS entity_owner_id_12, t0.kinescope_id AS kinescope_id_13, t0.kinescope_short_id AS kinescope_short_id_14, t0.audio_time AS audio_time_15, t0.audio_average_frequency AS audio_average_frequency_16, t0.multipart_upload_id AS multipart_upload_id_17, t0.restore_information AS restore_information_18, t0.deleted AS deleted_19, t0.deleted_at AS deleted_at_20, t0.path_deleted AS path_deleted_21, t0.id AS id_22, t0.create_at AS create_at_23, t0.update_at AS update_at_24, t0.uuid AS uuid_25, t0.school_id AS school_id_26, t0.lesson_module_file_id AS lesson_module_file_id_27, t0.homework_answer_audio_id AS homework_answer_audio_id_28, t0.question_fail_comment_file_id AS question_fail_comment_file_id_29, t0.question_success_comment_file_id AS question_success_comment_file_id_30, t0.answer_digit_comment_file_id AS answer_digit_comment_file_id_31, t0.answer_image_and_select_comment_file_id AS answer_image_and_select_comment_file_id_32, t0.answer_select_image_comment_file_id AS answer_select_image_comment_file_id_33, t0.answer_select_comment_file_id AS answer_select_comment_file_id_34, t0.answer_digit_type_comment_file_id AS answer_digit_type_comment_file_id_35, t0.answer_comment_file_id AS answer_comment_file_id_36 FROM file t0 WHERE t0.id IN (?, ?)
Parameters:
[
  24
  25
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\School\School No errors.
App\Entity\UserToken No errors.
App\Entity\User No errors.
App\Entity\File No errors.
App\Entity\LessonModule\LessonModule No errors.
App\Entity\LessonModule\LessonModuleFile No errors.
App\Entity\Homework\HomeworkAnswer No errors.
App\Entity\Test\Question\ParentType No errors.
App\Entity\Test\Answer\DigitType No errors.
App\Entity\Test\Answer\ImageAndSelectType No errors.
App\Entity\Test\Answer\SelectImageType No errors.
App\Entity\Test\Answer\SelectType No errors.
App\Entity\Test\Answer\TextType No errors.
App\Entity\Test\Answer\ParentTypeNew No errors.
App\Entity\Notifications No errors.
App\Entity\Subscription\Plan No errors.
App\Entity\Subscription\Subscription No errors.
App\Entity\Chat\Chat No errors.
App\Entity\Subscription\Discount\Discount No errors.
App\Entity\Course\Course No errors.
App\Entity\Homework\HomeworkUser No errors.
App\Entity\PublicApi\SchoolToken No errors.
App\Entity\Settings\School No errors.
App\Entity\School\UserFields\UserField No errors.
App\Entity\Landing\Landing No errors.
App\Entity\Course\Category No errors.
App\Entity\Settings\SchoolWebhook No errors.
App\Entity\Course\LessonAccess No errors.
App\Entity\Course\CourseUser No errors.
App\Entity\School\SchoolUser No errors.
App\Entity\Lesson\Lesson No errors.
App\Entity\Lesson\LessonPage No errors.
App\Entity\Lesson\LessonHistory No errors.
App\Entity\Step No errors.
App\Entity\Test\TestDeadline No errors.
App\Entity\Test\Test No errors.
App\Entity\School\Discount\Discount No errors.
App\Entity\Homework\HomeworkDeadline No errors.
App\Entity\Homework\Homework No errors.
App\Entity\Subscription\PlanFeature No errors.
App\Entity\Subscription\SubscriptionUsage No errors.
App\Entity\Group\LessonAccess No errors.
App\Entity\Group\Flow No errors.
App\Entity\Payment\Gateway\Gateway No errors.
App\Entity\Payment\Gateway\GatewayYandexKassa No errors.
App\Entity\Payment\Gateway\GatewayTinkoff No errors.
App\Entity\Payment\Gateway\GatewayProdamus No errors.
App\Entity\Payment\Gateway\GatewayMandarinPay No errors.
App\Entity\Payment\Gateway\GatewayMandarinPayInstallment No errors.
App\Entity\Payment\Gateway\GatewayDevelopmentResourceInstallment No errors.
App\Entity\Payment\Gateway\GatewayDevelopmentResourceV2Installment No errors.
App\Entity\Payment\Gateway\GatewayBePaid No errors.
App\Entity\Payment\Gateway\GatewayCloudPayments No errors.
App\Entity\Payment\Gateway\GatewayGazprom No errors.
App\Entity\Payment\Gateway\GatewayTochka No errors.
App\Entity\Payment\Gateway\GatewayMandarin No errors.
App\Entity\Payment\Gateway\GatewayVtb No errors.
App\Entity\School\SchoolEmployeeRole No errors.