| 1 |
3.72 ms |
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.active_session_token AS active_session_token_5, t0.full_name AS full_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.access_until AS access_until_9 FROM "user" t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.login AS login_2, t0.roles AS roles_3, t0.password AS password_4, t0.active_session_token AS active_session_token_5, t0.full_name AS full_name_6, t0.is_active AS is_active_7, t0.created_at AS created_at_8, t0.access_until AS access_until_9 FROM "user" t0 WHERE t0.id = 182;
|
| 2 |
4.87 ms |
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = '5798';
|
| 3 |
1.87 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.section_group_id AS section_group_id_5 FROM section t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.section_group_id AS section_group_id_5 FROM section t0 WHERE t0.id = 177;
|
| 4 |
2.99 ms |
SELECT u0_.id AS id_0, u0_.user_id AS user_id_1, u0_.topic_id AS topic_id_2, u0_.category_id AS category_id_3, u0_.subcategory_id AS subcategory_id_4, u0_.section_group_id AS section_group_id_5 FROM user_access_grant u0_ WHERE u0_.user_id = ? ORDER BY u0_.id ASC
SELECT u0_.id AS id_0, u0_.user_id AS user_id_1, u0_.topic_id AS topic_id_2, u0_.category_id AS category_id_3, u0_.subcategory_id AS subcategory_id_4, u0_.section_group_id AS section_group_id_5 FROM user_access_grant u0_ WHERE u0_.user_id = 182 ORDER BY u0_.id ASC;
|
| 5 |
1.62 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.subcategory_id AS subcategory_id_5 FROM section_group t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.subcategory_id AS subcategory_id_5 FROM section_group t0 WHERE t0.id = 14;
|
| 6 |
1.69 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.category_id AS category_id_5 FROM subcategory t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.category_id AS category_id_5 FROM subcategory t0 WHERE t0.id = 4;
|
| 7 |
2.35 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.topic_id AS topic_id_5 FROM category t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4, t0.topic_id AS topic_id_5 FROM category t0 WHERE t0.id = 2;
|
| 8 |
1.37 ms |
SELECT t0.id AS id_1, t0.text AS text_2, t0.is_correct AS is_correct_3, t0.sort_order AS sort_order_4, t0.question_id AS question_id_5 FROM answer_option t0 WHERE t0.question_id = ? ORDER BY t0.sort_order ASC, t0.id ASC
SELECT t0.id AS id_1, t0.text AS text_2, t0.is_correct AS is_correct_3, t0.sort_order AS sort_order_4, t0.question_id AS question_id_5 FROM answer_option t0 WHERE t0.question_id = 5798 ORDER BY t0.sort_order ASC, t0.id ASC;
|
| 9 |
2.62 ms |
SELECT t0.id AS id_1, t0.attempts_count AS attempts_count_2, t0.last_answered_at AS last_answered_at_3, t0.last_is_correct AS last_is_correct_4, t0.ever_correct AS ever_correct_5, t0.user_id AS user_id_6, t0.question_id AS question_id_7 FROM qa_progress t0 WHERE t0.user_id = ? AND t0.question_id = ? LIMIT 1
SELECT t0.id AS id_1, t0.attempts_count AS attempts_count_2, t0.last_answered_at AS last_answered_at_3, t0.last_is_correct AS last_is_correct_4, t0.ever_correct AS ever_correct_5, t0.user_id AS user_id_6, t0.question_id AS question_id_7 FROM qa_progress t0 WHERE t0.user_id = 182 AND t0.question_id = 5798 LIMIT 1;
|
| 10 |
0.32 ms |
"START TRANSACTION"
"START TRANSACTION";
|
| 11 |
0.85 ms |
UPDATE qa_progress SET attempts_count = ?, last_answered_at = ? WHERE id = ?
Parameters: [
6
"2026-04-13 06:32:34"
12991
]
UPDATE qa_progress SET attempts_count = 6, last_answered_at = '2026-04-13 06:32:34' WHERE id = 12991;
|
| 12 |
0.97 ms |
"COMMIT"
|
| 13 |
1.68 ms |
SELECT q0_.id AS id_0 FROM question q0_ WHERE q0_.section_id = ? AND q0_.is_active = true ORDER BY q0_.sort_order ASC, q0_.id ASC
SELECT q0_.id AS id_0 FROM question q0_ WHERE q0_.section_id = 177 AND q0_.is_active = true ORDER BY q0_.sort_order ASC, q0_.id ASC;
|
| 14 |
0.38 ms |
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = 5797;
|
| 15 |
0.36 ms |
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.text AS text_2, t0.explanation AS explanation_3, t0.type AS type_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.points AS points_7, t0.section_id AS section_id_8 FROM question t0 WHERE t0.id = 5799;
|
| 16 |
2.64 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4 FROM topic t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sort_order AS sort_order_4 FROM topic t0 WHERE t0.id = 2;
|