Query Metrics
9
Database Queries
9
Different statements
2.62 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.38 ms |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.active AS active_5, t0.google_id AS google_id_6, t0.avatar_name AS avatar_name_7, t0.user_role_id AS user_role_id_8, t9.id AS id_10, t9.first_name AS first_name_11, t9.last_name AS last_name_12, t9.date_of_birth AS date_of_birth_13, t9.city_of_birth AS city_of_birth_14, t9.gender AS gender_15, t9.number_of_childrens AS number_of_childrens_16, t9.phone_number AS phone_number_17, t9.cin AS cin_18, t9.cnss AS cnss_19, t9.relation_ship_status AS relation_ship_status_20, t9.picture AS picture_21, t9.date_old AS date_old_22, t9.date_cnss AS date_cnss_23, t9.registration_number AS registration_number_24, t9.created_at AS created_at_25, t9.updated_at AS updated_at_26, t9.user_id AS user_id_27, t9.last_history_id AS last_history_id_28 FROM user t0 LEFT JOIN employee t9 ON t9.user_id = t0.id WHERE t0.id = ?
Parameters:
[
2
]
|
| 2 | 0.22 ms |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.active AS active_5, t0.google_id AS google_id_6, t0.avatar_name AS avatar_name_7, t0.user_role_id AS user_role_id_8, t9.id AS id_10, t9.first_name AS first_name_11, t9.last_name AS last_name_12, t9.date_of_birth AS date_of_birth_13, t9.city_of_birth AS city_of_birth_14, t9.gender AS gender_15, t9.number_of_childrens AS number_of_childrens_16, t9.phone_number AS phone_number_17, t9.cin AS cin_18, t9.cnss AS cnss_19, t9.relation_ship_status AS relation_ship_status_20, t9.picture AS picture_21, t9.date_old AS date_old_22, t9.date_cnss AS date_cnss_23, t9.registration_number AS registration_number_24, t9.created_at AS created_at_25, t9.updated_at AS updated_at_26, t9.user_id AS user_id_27, t9.last_history_id AS last_history_id_28 FROM user t0 LEFT JOIN employee t9 ON t9.user_id = t0.id WHERE t0.email = ? LIMIT 1
Parameters:
[
"fatima@sigmatex.ma"
]
|
| 3 | 0.16 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.permissions AS permissions_3 FROM user_role t0 WHERE t0.id = ?
Parameters:
[
2
]
|
| 4 | 0.53 ms |
SELECT e0_.id AS id_0, e0_.first_name AS first_name_1, e0_.last_name AS last_name_2, e0_.date_of_birth AS date_of_birth_3, e0_.city_of_birth AS city_of_birth_4, e0_.gender AS gender_5, e0_.number_of_childrens AS number_of_childrens_6, e0_.phone_number AS phone_number_7, e0_.cin AS cin_8, e0_.cnss AS cnss_9, e0_.relation_ship_status AS relation_ship_status_10, e0_.picture AS picture_11, e0_.date_old AS date_old_12, e0_.date_cnss AS date_cnss_13, e0_.registration_number AS registration_number_14, e0_.created_at AS created_at_15, e0_.updated_at AS updated_at_16, e0_.user_id AS user_id_17, e0_.last_history_id AS last_history_id_18 FROM employee e0_ LEFT JOIN employee_history e1_ ON e0_.last_history_id = e1_.id LEFT JOIN employee_department e2_ ON e1_.department_id = e2_.id LEFT JOIN employee_position e3_ ON e1_.position_id = e3_.id
Parameters:
[] |
| 5 | 0.40 ms |
SELECT e0_.id AS id_0, e0_.first_name AS first_name_1, e0_.last_name AS last_name_2, e0_.date_of_birth AS date_of_birth_3, e0_.city_of_birth AS city_of_birth_4, e0_.gender AS gender_5, e0_.number_of_childrens AS number_of_childrens_6, e0_.phone_number AS phone_number_7, e0_.cin AS cin_8, e0_.cnss AS cnss_9, e0_.relation_ship_status AS relation_ship_status_10, e0_.picture AS picture_11, e0_.date_old AS date_old_12, e0_.date_cnss AS date_cnss_13, e0_.registration_number AS registration_number_14, e0_.created_at AS created_at_15, e0_.updated_at AS updated_at_16, e0_.user_id AS user_id_17, e0_.last_history_id AS last_history_id_18 FROM employee e0_ LEFT JOIN employee_history e1_ ON e0_.last_history_id = e1_.id LEFT JOIN employee_department e2_ ON e1_.department_id = e2_.id LEFT JOIN employee_position e3_ ON e1_.position_id = e3_.id WHERE e0_.first_name LIKE ? OR e0_.last_name LIKE ? OR e0_.cin LIKE ?
Parameters:
[ "%kabr%" "%kabr%" "%kabr%" ] |
| 6 | 0.36 ms |
SELECT e0_.id AS id_0, e0_.first_name AS first_name_1, e0_.last_name AS last_name_2, e0_.date_of_birth AS date_of_birth_3, e0_.city_of_birth AS city_of_birth_4, e0_.gender AS gender_5, e0_.number_of_childrens AS number_of_childrens_6, e0_.phone_number AS phone_number_7, e0_.cin AS cin_8, e0_.cnss AS cnss_9, e0_.relation_ship_status AS relation_ship_status_10, e0_.picture AS picture_11, e0_.date_old AS date_old_12, e0_.date_cnss AS date_cnss_13, e0_.registration_number AS registration_number_14, e0_.created_at AS created_at_15, e0_.updated_at AS updated_at_16, e0_.user_id AS user_id_17, e0_.last_history_id AS last_history_id_18 FROM employee e0_ LEFT JOIN employee_history e1_ ON e0_.last_history_id = e1_.id LEFT JOIN employee_department e2_ ON e1_.department_id = e2_.id LEFT JOIN employee_position e3_ ON e1_.position_id = e3_.id WHERE e0_.first_name LIKE ? OR e0_.last_name LIKE ? OR e0_.cin LIKE ? GROUP BY e0_.id ORDER BY e0_.id DESC LIMIT 100
Parameters:
[ "%kabr%" "%kabr%" "%kabr%" ] |
| 7 | 0.27 ms |
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.end_date AS end_date_3, t0.reason AS reason_4, t0.salary_type AS salary_type_5, t0.price AS price_6, t0.department_id AS department_id_7, t0.position_id AS position_id_8, t0.employee_id AS employee_id_9 FROM employee_history t0 WHERE t0.id = ?
Parameters:
[
1838
]
|
| 8 | 0.19 ms |
SELECT t0.id AS id_1, t0.name AS name_2 FROM employee_department t0 WHERE t0.id = ?
Parameters:
[
9
]
|
| 9 | 0.12 ms |
SELECT t0.id AS id_1, t0.name AS name_2 FROM employee_position t0 WHERE t0.id = ?
Parameters:
[
11
]
|
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\User | No errors. |
| App\Entity\UserRole | No errors. |
| App\Entity\Employee | No errors. |
| App\Entity\EmployeeHistory | No errors. |
| App\Entity\EmployeeHourLog | No errors. |
| App\Entity\EmployeeAdvance | No errors. |
| App\Entity\EmployeeDepartment | No errors. |
| App\Entity\EmployeePosition | No errors. |
| App\Entity\EmployeeSalaryBonusHistory | No errors. |
| App\Entity\EmployeeHourCount | No errors. |