Query Metrics
12
Database Queries
9
Different statements
9.74 ms
Query time
0
Invalid entities
7
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.87 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.58 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.27 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
]
|
| 4 | 1.23 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.slug AS slug_3, t0.level AS level_4, t0.short_description AS short_description_5, t0.description AS description_6, t0.duration_minutes AS duration_minutes_7, t0.thumbnail_url AS thumbnail_url_8, t0.is_published AS is_published_9, t0.price AS price_10, t0.sale_price AS sale_price_11, t0.commission_rate AS commission_rate_12, t0.is_free AS is_free_13, t0.rating_average AS rating_average_14, t0.rating_count AS rating_count_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.deleted_at AS deleted_at_18, t0.teacher_id AS teacher_id_19, t0.organization_id AS organization_id_20 FROM courses t0 WHERE t0.teacher_id = ? AND t0.is_published = ? AND ((t0.organization_id IS NULL)) ORDER BY t0.created_at DESC
Parameters:
[ 1 1 ] |
| 5 | 0.88 ms |
SELECT COUNT(*) FROM enrollments t0 WHERE t0.course_id = ?
Parameters:
[
6
]
|
| 6 | 0.89 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"
]
|
| 7 | 0.64 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"
]
|
| 8 | 0.52 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"
]
|
| 9 | 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:
[
"brand_primary_color"
]
|
| 10 | 0.77 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
]
|
| 11 | 0.73 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
]
|
| 12 | 0.87 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\User\User | 1 |
| App\Entity\Course\Course | 1 |
| App\Entity\Course\CourseSection | 1 |
| App\Entity\Content\Page | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Organization\Organization | No errors. |
| App\Entity\User\User | No errors. |
| App\Entity\Live\LiveAccount | No errors. |
| App\Entity\User\Role | No errors. |
| App\Entity\User\Permission | No errors. |
| App\Entity\User\SkyroomRequest | No errors. |
| App\Entity\Course\Course | No errors. |
| App\Entity\Course\CourseSection | No errors. |
| App\Entity\Course\Enrollment | No errors. |
| App\Entity\Settings\Setting | No errors. |
| App\Entity\Exam\Exam | No errors. |
| App\Entity\Course\Lesson | No errors. |
| App\Entity\Content\Page | No errors. |