Query Metrics
13
Database Queries
9
Different statements
3.36 ms
Query time
1
Invalid entities
21
Managed entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 0.47 ms |
SELECT t0.id AS id_3, t0.matricule AS matricule_4, t0.email AS email_5, t0.first_name AS first_name_6, t0.last_name AS last_name_7, t0.gender AS gender_8, t0.roles AS roles_9, t0.password AS password_10, t0.birth_date AS birth_date_11, t0.phone AS phone_12, t0.language AS language_13, t0.theme AS theme_14, t0.notification_preferences AS notification_preferences_15, t0.activation_token AS activation_token_16, t0.is_activated AS is_activated_17, t0.is_profile_complete AS is_profile_complete_18, t0.reset_token AS reset_token_19, t0.type, t1.ine AS ine_20, t1.dad AS dad_21, t1.mum AS mum_22, t1.birthday AS birthday_23, t1.place_of_birth AS place_of_birth_24, t1.department AS department_25, t1.status AS status_26, t1.cohorte AS cohorte_27, t1.updated_at AS updated_at_28, t1.profile_photo AS profile_photo_29, t1.bio AS bio_30, t1.level_id AS level_id_31, t2.teacher_role AS teacher_role_32, t2.cv AS cv_33, t2.status AS status_34, t2.updated_at AS updated_at_35, t2.experience_years AS experience_years_36, t2.has_phd AS has_phd_37, t2.hired_at AS hired_at_38, t2.profile_photo AS profile_photo_39, t2.bio AS bio_40, t2.managed_department_id AS managed_department_id_41, t2.grade_id AS grade_id_42 FROM user t0 LEFT JOIN students t1 ON t0.id = t1.id LEFT JOIN teachers t2 ON t0.id = t2.id WHERE t0.id = ?
Parameters:
[
1
]
|
2 | 0.21 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.code AS code_2, d0_.created_at AS created_at_3, d0_.updated_at AS updated_at_4, d0_.faculty_id AS faculty_id_5 FROM departments d0_ WHERE d0_.id IN (?)
Parameters:
[
"1"
]
|
3 | 0.20 ms |
SELECT s0_.id AS id_0, s0_.number AS number_1, s0_.start_date AS start_date_2, s0_.end_date AS end_date_3, s0_.status AS status_4, s0_.created_at AS created_at_5, s0_.updated_at AS updated_at_6, s0_.academic_year_id AS academic_year_id_7 FROM semesters s0_ WHERE s0_.id IN (?)
Parameters:
[
"4"
]
|
4 | 0.20 ms |
SELECT l0_.id AS id_0, l0_.cycle AS cycle_1, l0_.number AS number_2, l0_.created_at AS created_at_3, l0_.updated_at AS updated_at_4, l0_.department_id AS department_id_5 FROM levels l0_ WHERE l0_.id IN (?)
Parameters:
[
"2"
]
|
5 | 0.36 ms |
SELECT DISTINCT c0_.id AS id_0 FROM courses c0_ WHERE c0_.department_id = (?) AND c0_.semester_id = (?) AND c0_.level_id = (?) LIMIT 20
Parameters:
[ 1 4 2 ] |
6 | 0.48 ms |
SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.code AS code_2, c0_.name AS name_3, c0_.description AS description_4, c0_.credits AS credits_5, c0_.created_at AS created_at_6, c0_.updated_at AS updated_at_7, c0_.department_id AS department_id_8, c0_.teaching_unit_id AS teaching_unit_id_9, c0_.semester_id AS semester_id_10, c0_.teacher_id AS teacher_id_11, c0_.level_id AS level_id_12 FROM courses c0_ WHERE c0_.department_id = (?) AND c0_.semester_id = (?) AND c0_.level_id = (?) AND c0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 4 2 72 73 75 76 77 78 80 82 83 84 ] |
7 | 0.29 ms |
SELECT count(*) AS sclr_0 FROM courses c0_ WHERE c0_.department_id = (?) AND c0_.semester_id = (?) AND c0_.level_id = (?)
Parameters:
[ 1 4 2 ] |
8 | 0.22 ms |
SELECT t0.id AS id_1, t0.year AS year_2, t0.start_date AS start_date_3, t0.end_date AS end_date_4, t0.status AS status_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7 FROM academic_years t0 WHERE t0.id = ?
Parameters:
[
1
]
|
9 | 0.16 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.total_credits AS total_credits_4 FROM teaching_units t0 WHERE t0.id = ?
Parameters:
[
21
]
|
10 | 0.19 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.total_credits AS total_credits_4 FROM teaching_units t0 WHERE t0.id = ?
Parameters:
[
38
]
|
11 | 0.19 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.total_credits AS total_credits_4 FROM teaching_units t0 WHERE t0.id = ?
Parameters:
[
23
]
|
12 | 0.21 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.total_credits AS total_credits_4 FROM teaching_units t0 WHERE t0.id = ?
Parameters:
[
39
]
|
13 | 0.18 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.total_credits AS total_credits_4 FROM teaching_units t0 WHERE t0.id = ?
Parameters:
[
40
]
|
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\Course\Domain\Entity\Course | 10 |
App\Course\Domain\Entity\TeachingUnit | 5 |
App\Core\Domain\Model\User\User | 1 |
App\Faculty\Domain\Entity\Department | 1 |
App\Faculty\Domain\Entity\Faculty | 1 |
App\Course\Domain\Entity\Semester | 1 |
App\Course\Domain\Entity\AcademicYear | 1 |
App\Faculty\Domain\Entity\Level | 1 |
Entities Mapping
Class | Mapping errors |
---|---|
App\Core\Domain\Model\User\User | No errors. |
App\Student\Domain\Entity\Student | No errors. |
App\Teacher\Domain\Entity\Teacher | No errors. |
App\Faculty\Domain\Entity\Level | No errors. |
App\Faculty\Domain\Entity\Department | No errors. |
App\Teacher\Domain\Entity\TeacherGrade | No errors. |
App\Course\Domain\Entity\Course | No errors. |
App\Course\Domain\Entity\Semester | No errors. |
App\Course\Domain\Entity\TeachingUnit | No errors. |
App\Faculty\Domain\Entity\Faculty | No errors. |
App\Course\Domain\Entity\AcademicYear | No errors. |
App\Grade\Domain\Entity\Grade |
|