3.26 ms (35.88%)
|
2 |
"COMMIT"
|
1.33 ms (14.67%)
|
1 |
SELECT COUNT(DISTINCT m0_.conversation_id) AS sclr_0 FROM message m0_ WHERE m0_.receiver_id = ? AND m0_.created_at >= ? AND m0_.created_at < ? AND m0_.conversation_id <> ?
Parameters: [
2
"2026-01-26 00:00:00"
"2026-01-27 00:00:00"
"conv_2_2"
]
SELECT COUNT(DISTINCT m0_.conversation_id) AS sclr_0 FROM message m0_ WHERE m0_.receiver_id = 2 AND m0_.created_at >= '2026-01-26 00:00:00' AND m0_.created_at < '2026-01-27 00:00:00' AND m0_.conversation_id <> 'conv_2_2';
|
0.76 ms (8.41%)
|
2 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.status AS status_4, t0.type AS type_5, t0.priority AS priority_6, t0.response AS response_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.assigned_to_id AS assigned_to_id_10, t0.creator_id AS creator_id_11, t0.recipient_id AS recipient_id_12, t0.family_id AS family_id_13, t0.coach_id AS coach_id_14, t0.parent_id AS parent_id_15, t0.student_id AS student_id_16, t0.specialist_id AS specialist_id_17 FROM request t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.status AS status_4, t0.type AS type_5, t0.priority AS priority_6, t0.response AS response_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.assigned_to_id AS assigned_to_id_10, t0.creator_id AS creator_id_11, t0.recipient_id AS recipient_id_12, t0.family_id AS family_id_13, t0.coach_id AS coach_id_14, t0.parent_id AS parent_id_15, t0.student_id AS student_id_16, t0.specialist_id AS specialist_id_17 FROM request t0 WHERE t0.id = 23;
|
0.66 ms (7.31%)
|
1 |
SELECT t0.id AS id_6, t0.email AS email_7, t0.roles AS roles_8, t0.password AS password_9, t0.first_name AS first_name_10, t0.last_name AS last_name_11, t0.is_active AS is_active_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.auth_token AS auth_token_15, t0.auth_token_expires_at AS auth_token_expires_at_16, t0.discriminator, t1.specialization AS specialization_17, t2.family_id AS family_id_18, t3.pseudo AS pseudo_19, t3.class AS class_20, t3.school_name AS school_name_21, t3.points AS points_22, t3.need_tags AS need_tags_23, t3.family_id AS family_id_24, t4.specializations AS specializations_25 FROM `user` t0 LEFT JOIN coach t1 ON t0.id = t1.id LEFT JOIN parent_user t2 ON t0.id = t2.id LEFT JOIN student t3 ON t0.id = t3.id LEFT JOIN specialist t4 ON t0.id = t4.id LEFT JOIN admin t5 ON t0.id = t5.id WHERE t0.id = ?
SELECT t0.id AS id_6, t0.email AS email_7, t0.roles AS roles_8, t0.password AS password_9, t0.first_name AS first_name_10, t0.last_name AS last_name_11, t0.is_active AS is_active_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.auth_token AS auth_token_15, t0.auth_token_expires_at AS auth_token_expires_at_16, t0.discriminator, t1.specialization AS specialization_17, t2.family_id AS family_id_18, t3.pseudo AS pseudo_19, t3.class AS class_20, t3.school_name AS school_name_21, t3.points AS points_22, t3.need_tags AS need_tags_23, t3.family_id AS family_id_24, t4.specializations AS specializations_25 FROM `user` t0 LEFT JOIN coach t1 ON t0.id = t1.id LEFT JOIN parent_user t2 ON t0.id = t2.id LEFT JOIN student t3 ON t0.id = t3.id LEFT JOIN specialist t4 ON t0.id = t4.id LEFT JOIN admin t5 ON t0.id = t5.id WHERE t0.id = 2;
|
0.64 ms (7.05%)
|
2 |
"START TRANSACTION"
"START TRANSACTION";
|
0.50 ms (5.48%)
|
1 |
INSERT INTO notifications (type, title, message, data, url, is_read, read_at, created_at, recipient_id, objective_id, task_id, request_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters: [
"new_message"
"Nouveau message de Association Emotionya"
"Oui bonjour"
"{"messageId":1035,"senderId":2,"senderName":"Association Emotionya","conversationId":"conv_2_2","requestId":23}"
"/admin/requests/23"
0
null
"2026-01-26 17:05:50"
2
null
null
23
]
INSERT INTO notifications (type, title, message, data, url, is_read, read_at, created_at, recipient_id, objective_id, task_id, request_id) VALUES ('new_message', 'Nouveau message de Association Emotionya', 'Oui bonjour', '{\"messageId\":1035,\"senderId\":2,\"senderName\":\"Association Emotionya\",\"conversationId\":\"conv_2_2\",\"requestId\":23}', '/admin/requests/23', 0, NULL, '2026-01-26 17:05:50', 2, NULL, NULL, 23);
|
0.48 ms (5.31%)
|
1 |
INSERT INTO message (content, type, file_path, is_read, conversation_id, created_at, updated_at, sender_id, receiver_id, coach_id, recipient_id, request_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters: [
"Oui bonjour"
"text"
null
0
"conv_2_2"
"2026-01-26 17:05:50"
"2026-01-26 17:05:50"
2
2
2
2
23
]
INSERT INTO message (content, type, file_path, is_read, conversation_id, created_at, updated_at, sender_id, receiver_id, coach_id, recipient_id, request_id) VALUES ('Oui bonjour', 'text', NULL, 0, 'conv_2_2', '2026-01-26 17:05:50', '2026-01-26 17:05:50', 2, 2, 2, 2, 23);
|
0.42 ms (4.60%)
|
1 |
SELECT t1.id AS id_2, t1.email AS email_3, t1.roles AS roles_4, t1.password AS password_5, t1.first_name AS first_name_6, t1.last_name AS last_name_7, t1.is_active AS is_active_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t1.auth_token AS auth_token_11, t1.auth_token_expires_at AS auth_token_expires_at_12, t0.pseudo AS pseudo_13, t0.class AS class_14, t0.school_name AS school_name_15, t0.points AS points_16, t0.need_tags AS need_tags_17, t0.family_id AS family_id_18, t1.discriminator FROM student t0 INNER JOIN `user` t1 ON t0.id = t1.id WHERE t1.id = ?
SELECT t1.id AS id_2, t1.email AS email_3, t1.roles AS roles_4, t1.password AS password_5, t1.first_name AS first_name_6, t1.last_name AS last_name_7, t1.is_active AS is_active_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t1.auth_token AS auth_token_11, t1.auth_token_expires_at AS auth_token_expires_at_12, t0.pseudo AS pseudo_13, t0.class AS class_14, t0.school_name AS school_name_15, t0.points AS points_16, t0.need_tags AS need_tags_17, t0.family_id AS family_id_18, t1.discriminator FROM student t0 INNER JOIN `user` t1 ON t0.id = t1.id WHERE t1.id = 97;
|
0.41 ms (4.48%)
|
1 |
SELECT m0_.id AS id_0, m0_.content AS content_1, m0_.type AS type_2, m0_.file_path AS file_path_3, m0_.is_read AS is_read_4, m0_.conversation_id AS conversation_id_5, m0_.created_at AS created_at_6, m0_.updated_at AS updated_at_7, m0_.sender_id AS sender_id_8, m0_.receiver_id AS receiver_id_9, m0_.coach_id AS coach_id_10, m0_.recipient_id AS recipient_id_11, m0_.request_id AS request_id_12 FROM message m0_ WHERE m0_.conversation_id = ? LIMIT 1
Parameters: [
"conv_2_2"
]
SELECT m0_.id AS id_0, m0_.content AS content_1, m0_.type AS type_2, m0_.file_path AS file_path_3, m0_.is_read AS is_read_4, m0_.conversation_id AS conversation_id_5, m0_.created_at AS created_at_6, m0_.updated_at AS updated_at_7, m0_.sender_id AS sender_id_8, m0_.receiver_id AS receiver_id_9, m0_.coach_id AS coach_id_10, m0_.recipient_id AS recipient_id_11, m0_.request_id AS request_id_12 FROM message m0_ WHERE m0_.conversation_id = 'conv_2_2' LIMIT 1;
|
0.31 ms (3.42%)
|
1 |
SELECT t0.id AS id_1, t0.family_identifier AS family_identifier_2, t0.type AS type_3, t0.is_active AS is_active_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.location AS location_7, t0.coach_id AS coach_id_8 FROM family t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.family_identifier AS family_identifier_2, t0.type AS type_3, t0.is_active AS is_active_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.location AS location_7, t0.coach_id AS coach_id_8 FROM family t0 WHERE t0.id = 10;
|
0.31 ms (3.40%)
|
1 |
SELECT t1.id AS id_2, t1.email AS email_3, t1.roles AS roles_4, t1.password AS password_5, t1.first_name AS first_name_6, t1.last_name AS last_name_7, t1.is_active AS is_active_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t1.auth_token AS auth_token_11, t1.auth_token_expires_at AS auth_token_expires_at_12, t0.family_id AS family_id_13, t1.discriminator FROM parent_user t0 INNER JOIN `user` t1 ON t0.id = t1.id WHERE t0.family_id = ?
SELECT t1.id AS id_2, t1.email AS email_3, t1.roles AS roles_4, t1.password AS password_5, t1.first_name AS first_name_6, t1.last_name AS last_name_7, t1.is_active AS is_active_8, t1.created_at AS created_at_9, t1.updated_at AS updated_at_10, t1.auth_token AS auth_token_11, t1.auth_token_expires_at AS auth_token_expires_at_12, t0.family_id AS family_id_13, t1.discriminator FROM parent_user t0 INNER JOIN `user` t1 ON t0.id = t1.id WHERE t0.family_id = 10;
|