3.06 ms (39.75%)
2
"COMMIT"
0.88 ms (11.44%)
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-21 00:00:00 "
"2026-01-22 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-21 00:00:00' AND m0_ . created_at < '2026-01-22 00:00:00' AND m0_ . conversation_id < > 'conv_2_2' ;
Copy
0.82 ms (10.66%)
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 = 12 ;
Copy
0.54 ms (7.04%)
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 ;
Copy
0.43 ms (5.57%)
2
"START TRANSACTION"
"START TRANSACTION" ;
Copy
0.40 ms (5.25%)
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 = 45 ;
Copy
0.39 ms (5.10%)
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 :
[
"ok qu'as tu fais aujourd'hui ? et qu'as tu à faire pour demain ? "
"text "
null
0
"conv_2_2 "
"2026-01-21 17:11:22 "
"2026-01-21 17:11:22 "
2
2
2
2
12
]
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 ('ok qu\'as tu fais aujourd\'hui ? et qu\'as tu à faire pour demain ?' , 'text' , NULL , 0 , 'conv_2_2' , '2026-01-21 17:11:22' , '2026-01-21 17:11:22' , 2 , 2 , 2 , 2 , 12 );
Copy
0.38 ms (4.95%)
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 "
"ok qu'as tu fais aujourd'hui ? et qu'as tu à faire pour demain ? "
"{"messageId":750,"senderId":2,"senderName":"Association Emotionya","conversationId":"conv_2_2","requestId":12} "
"/admin/requests/12 "
0
null
"2026-01-21 17:11:23 "
2
null
null
12
]
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' , 'ok qu\'as tu fais aujourd\'hui ? et qu\'as tu à faire pour demain ?' , '{\"messageId\":750,\"senderId\":2,\"senderName\":\"Association Emotionya\",\"conversationId\":\"conv_2_2\",\"requestId\":12}' , '/admin/requests/12' , 0 , NULL , '2026-01-21 17:11:23' , 2 , NULL , NULL , 12 );
Copy
0.29 ms (3.77%)
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 ;
Copy
0.25 ms (3.26%)
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 = 3 ;
Copy
0.25 ms (3.23%)
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 = 3 ;
Copy