GET http://learning.ostadyar.ir/courses

Query Metrics

14 Database Queries
8 Different statements
33.07 ms Query time
0 Invalid entities
11 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.73 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.subdomain AS subdomain_3, t0.custom_domain AS custom_domain_4, t0.is_active AS is_active_5, t0.title AS title_6, t0.description AS description_7, t0.primary_color AS primary_color_8, t0.logo_light_path AS logo_light_path_9, t0.logo_dark_path AS logo_dark_path_10, t0.installment_allowed AS installment_allowed_11, t0.stories_enabled AS stories_enabled_12, t0.min_installment_amount AS min_installment_amount_13, t0.member_discount_percent AS member_discount_percent_14, t0.created_at AS created_at_15 FROM organizations t0 WHERE t0.custom_domain = ? LIMIT 1
Parameters:
[
  "learning.ostadyar.ir"
]
2 0.48 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.subdomain AS subdomain_3, t0.custom_domain AS custom_domain_4, t0.is_active AS is_active_5, t0.title AS title_6, t0.description AS description_7, t0.primary_color AS primary_color_8, t0.logo_light_path AS logo_light_path_9, t0.logo_dark_path AS logo_dark_path_10, t0.installment_allowed AS installment_allowed_11, t0.stories_enabled AS stories_enabled_12, t0.min_installment_amount AS min_installment_amount_13, t0.member_discount_percent AS member_discount_percent_14, t0.created_at AS created_at_15 FROM organizations t0 WHERE t0.subdomain = ? LIMIT 1
Parameters:
[
  "learning"
]
3 1.41 ms
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.slug AS slug_2, c0_.level AS level_3, c0_.short_description AS short_description_4, c0_.description AS description_5, c0_.duration_minutes AS duration_minutes_6, c0_.thumbnail_url AS thumbnail_url_7, c0_.is_published AS is_published_8, c0_.price AS price_9, c0_.sale_price AS sale_price_10, c0_.commission_rate AS commission_rate_11, c0_.is_free AS is_free_12, c0_.rating_average AS rating_average_13, c0_.rating_count AS rating_count_14, c0_.created_at AS created_at_15, c0_.updated_at AS updated_at_16, c0_.deleted_at AS deleted_at_17, c0_.teacher_id AS teacher_id_18, c0_.organization_id AS organization_id_19 FROM courses c0_ WHERE (c0_.is_published = ? AND c0_.deleted_at IS NULL) AND (c0_.organization_id IS NULL) ORDER BY c0_.created_at DESC
Parameters:
[
  1
]
4 1.06 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "meta_description"
]
5 0.49 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "meta_keywords"
]
6 0.38 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "site_favicon"
]
7 0.40 ms
SELECT t0.id AS id_1, t0.key_name AS key_name_2, t0.value AS value_3, t0.type AS type_4, t0.category AS category_5, t0.is_public AS is_public_6, t0.description AS description_7, t0.updated_at AS updated_at_8 FROM settings t0 WHERE t0.key_name = ? LIMIT 1
Parameters:
[
  "brand_primary_color"
]
8 11.24 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.course_id AS course_id_6, t0.required_exam_id AS required_exam_id_7 FROM course_sections t0 WHERE t0.course_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  7
]
9 11.24 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.duration_minutes AS duration_minutes_4, t0.is_free_preview AS is_free_preview_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.required_exam_id AS required_exam_id_9 FROM lessons t0 WHERE t0.section_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  9
]
10 1.48 ms
SELECT t0.id AS id_1, t0.mobile AS mobile_2, t0.email AS email_3, t0.email_verified_at AS email_verified_at_4, t0.mobile_verified_at AS mobile_verified_at_5, t0.password_set AS password_set_6, t0.two_factor_enabled AS two_factor_enabled_7, t0.password AS password_8, t0.first_name AS first_name_9, t0.last_name AS last_name_10, t0.national_code AS national_code_11, t0.gender AS gender_12, t0.headline AS headline_13, t0.bio AS bio_14, t0.education AS education_15, t0.social_links AS social_links_16, t0.avatar AS avatar_17, t0.status AS status_18, t0.last_login_at AS last_login_at_19, t0.skyroom_mode AS skyroom_mode_20, t0.skyroom_api_key AS skyroom_api_key_21, t0.skyroom_api_url AS skyroom_api_url_22, t0.skyroom_request_status AS skyroom_request_status_23, t0.skyroom_request_note AS skyroom_request_note_24, t0.skyroom_approved_at AS skyroom_approved_at_25, t0.negative_points AS negative_points_26, t0.referral_code AS referral_code_27, t0.wallet_balance AS wallet_balance_28, t0.created_at AS created_at_29, t0.updated_at AS updated_at_30, t0.deleted_at AS deleted_at_31, t0.live_account_id AS live_account_id_32, t0.organization_id AS organization_id_33, t0.referred_by_id AS referred_by_id_34 FROM users t0 WHERE t0.id = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  8
]
11 1.11 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.course_id AS course_id_6, t0.required_exam_id AS required_exam_id_7 FROM course_sections t0 WHERE t0.course_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  6
]
12 0.82 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.sort_order AS sort_order_3, t0.duration_minutes AS duration_minutes_4, t0.is_free_preview AS is_free_preview_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.section_id AS section_id_8, t0.required_exam_id AS required_exam_id_9 FROM lessons t0 WHERE t0.section_id = ? ORDER BY t0.sort_order ASC
Parameters:
[
  8
]
13 1.01 ms
SELECT t0.id AS id_1, t0.mobile AS mobile_2, t0.email AS email_3, t0.email_verified_at AS email_verified_at_4, t0.mobile_verified_at AS mobile_verified_at_5, t0.password_set AS password_set_6, t0.two_factor_enabled AS two_factor_enabled_7, t0.password AS password_8, t0.first_name AS first_name_9, t0.last_name AS last_name_10, t0.national_code AS national_code_11, t0.gender AS gender_12, t0.headline AS headline_13, t0.bio AS bio_14, t0.education AS education_15, t0.social_links AS social_links_16, t0.avatar AS avatar_17, t0.status AS status_18, t0.last_login_at AS last_login_at_19, t0.skyroom_mode AS skyroom_mode_20, t0.skyroom_api_key AS skyroom_api_key_21, t0.skyroom_api_url AS skyroom_api_url_22, t0.skyroom_request_status AS skyroom_request_status_23, t0.skyroom_request_note AS skyroom_request_note_24, t0.skyroom_approved_at AS skyroom_approved_at_25, t0.negative_points AS negative_points_26, t0.referral_code AS referral_code_27, t0.wallet_balance AS wallet_balance_28, t0.created_at AS created_at_29, t0.updated_at AS updated_at_30, t0.deleted_at AS deleted_at_31, t0.live_account_id AS live_account_id_32, t0.organization_id AS organization_id_33, t0.referred_by_id AS referred_by_id_34 FROM users t0 WHERE t0.id = ? AND ((t0.organization_id IS NULL))
Parameters:
[
  1
]
14 1.21 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.title_fa AS title_fa_3, t0.title_en AS title_en_4, t0.title_ar AS title_ar_5, t0.content_fa AS content_fa_6, t0.content_en AS content_en_7, t0.content_ar AS content_ar_8, t0.is_published AS is_published_9, t0.show_in_footer AS show_in_footer_10, t0.sort_order AS sort_order_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.organization_id AS organization_id_14 FROM pages t0 WHERE t0.is_published = ? AND t0.show_in_footer = ? AND ((t0.organization_id IS NULL)) ORDER BY t0.sort_order ASC, t0.id ASC
Parameters:
[
  1
  1
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Settings\Setting 3
App\Entity\Course\Course 2
App\Entity\User\User 2
App\Entity\Course\CourseSection 2
App\Entity\Course\Lesson 1
App\Entity\Content\Page 1