Query Metrics
16
Database Queries
15
Different statements
14.82 ms
Query time
0
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 0.46 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:
[
3
]
|
2 | 0.45 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:
[
"n.bouaziz@sigmatex.ma"
]
|
3 | 0.22 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:
[
3
]
|
4 | 0.71 ms |
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.date_of_birth AS date_of_birth_4, t0.city_of_birth AS city_of_birth_5, t0.gender AS gender_6, t0.number_of_childrens AS number_of_childrens_7, t0.phone_number AS phone_number_8, t0.cin AS cin_9, t0.cnss AS cnss_10, t0.relation_ship_status AS relation_ship_status_11, t0.picture AS picture_12, t0.date_old AS date_old_13, t0.date_cnss AS date_cnss_14, t0.registration_number AS registration_number_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.user_id AS user_id_18, t0.last_history_id AS last_history_id_19 FROM employee t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
913
]
|
5 | 1.13 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_ INNER JOIN employee_history e1_ ON e0_.last_history_id = e1_.id INNER JOIN employee_department e2_ ON e1_.department_id = e2_.id INNER JOIN employee_position e3_ ON e1_.position_id = e3_.id LEFT JOIN employee_hour_log e4_ ON e0_.id = e4_.employee_id WHERE ((e1_.salary_type = 2 AND e1_.end_date IS NULL) OR e1_.end_date <= 2024 - 12 - 24) AND e0_.id = ? ORDER BY e1_.department_id ASC, e3_.id ASC
Parameters:
[
913
]
|
6 | 0.88 ms |
SELECT t0.id AS id_1, t0.date AS date_2, t0.comment AS comment_3, t0.in_out AS in_out_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.employee_id AS employee_id_7 FROM employee_hour_log t0 WHERE t0.employee_id = ? ORDER BY t0.date ASC
Parameters:
[
913
]
|
7 | 0.17 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:
[
1401
]
|
8 | 0.32 ms |
SELECT t0.id AS id_1, t0.name AS name_2 FROM employee_department t0 WHERE t0.id = ?
Parameters:
[
4
]
|
9 | 0.20 ms |
SELECT t0.id AS id_1, t0.name AS name_2 FROM employee_position t0 WHERE t0.id = ?
Parameters:
[
17
]
|
10 | 0.67 ms |
SELECT t0.id AS id_1, t0.date AS date_2, t0.comment AS comment_3, t0.in_out AS in_out_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.employee_id AS employee_id_7 FROM employee_hour_log t0 WHERE t0.employee_id = ? AND t0.date = ?
Parameters:
[ 913 "2024-12-24 18:00:00" ] |
11 | 1.80 ms |
SELECT e0_.id AS id_0, e0_.date AS date_1, e0_.comment AS comment_2, e0_.in_out AS in_out_3, e0_.created_at AS created_at_4, e0_.updated_at AS updated_at_5, e0_.employee_id AS employee_id_6 FROM employee_hour_log e0_ WHERE e0_.employee_id = ? AND e0_.date LIKE ? ORDER BY e0_.date DESC LIMIT 1
Parameters:
[ 913 "2024-12-24%" ] |
12 | 0.22 ms |
"START TRANSACTION"
Parameters:
[] |
13 | 0.50 ms |
INSERT INTO employee_hour_log (date, comment, in_out, created_at, updated_at, employee_id) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[ "2024-12-24 18:00:00" null 2 null null 913 ] |
14 | 3.91 ms |
"COMMIT"
Parameters:
[] |
15 | 0.71 ms |
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.date_of_birth AS date_of_birth_4, t0.city_of_birth AS city_of_birth_5, t0.gender AS gender_6, t0.number_of_childrens AS number_of_childrens_7, t0.phone_number AS phone_number_8, t0.cin AS cin_9, t0.cnss AS cnss_10, t0.relation_ship_status AS relation_ship_status_11, t0.picture AS picture_12, t0.date_old AS date_old_13, t0.date_cnss AS date_cnss_14, t0.registration_number AS registration_number_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.user_id AS user_id_18, t0.last_history_id AS last_history_id_19 FROM employee t0 WHERE t0.id = ?
Parameters:
[
913
]
|
16 | 2.48 ms |
SELECT t0.id AS id_1, t0.date AS date_2, t0.comment AS comment_3, t0.in_out AS in_out_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.employee_id AS employee_id_7 FROM employee_hour_log t0 WHERE t0.employee_id = ? ORDER BY t0.date ASC
Parameters:
[
913
]
|
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. |