7.76 ms (25.16%)
|
1 |
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 = 55;
|
3.97 ms (12.87%)
|
1 |
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = ? ORDER BY t0.id ASC
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = 2296 ORDER BY t0.id ASC;
|
3.78 ms (12.27%)
|
1 |
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 = 5817;
|
3.72 ms (12.07%)
|
2 |
"COMMIT"
|
3.51 ms (11.38%)
|
1 |
SELECT t0.id AS id_1, t0.question_ids AS question_ids_2, t0.current_index AS current_index_3, t0.started_at AS started_at_4, t0.expires_at AS expires_at_5, t0.finished_at AS finished_at_6, t0.score AS score_7, t0.max_score AS max_score_8, t0.passed AS passed_9, t0.user_id AS user_id_10, t0.section_id AS section_id_11, t0.subcategory_id AS subcategory_id_12, t0.section_group_id AS section_group_id_13 FROM attempt t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.question_ids AS question_ids_2, t0.current_index AS current_index_3, t0.started_at AS started_at_4, t0.expires_at AS expires_at_5, t0.finished_at AS finished_at_6, t0.score AS score_7, t0.max_score AS max_score_8, t0.passed AS passed_9, t0.user_id AS user_id_10, t0.section_id AS section_id_11, t0.subcategory_id AS subcategory_id_12, t0.section_group_id AS section_group_id_13 FROM attempt t0 WHERE t0.id = 2296;
|
2.31 ms (7.49%)
|
1 |
INSERT INTO attempt_answer (selected_option_ids, is_correct, points, attempt_id, question_id) VALUES (?, ?, ?, ?, ?)
Parameters: [
"[20551]"
1
1
2296
5817
]
INSERT INTO attempt_answer (selected_option_ids, is_correct, points, attempt_id, question_id) VALUES ('[20551]', 1, 1, 2296, 5817);
|
2.07 ms (6.71%)
|
1 |
SELECT a0_.id AS id_0 FROM answer_option a0_ WHERE a0_.question_id = ? AND a0_.is_correct = true
SELECT a0_.id AS id_0 FROM answer_option a0_ WHERE a0_.question_id = 5817 AND a0_.is_correct = true;
|
1.77 ms (5.74%)
|
2 |
"START TRANSACTION"
"START TRANSACTION";
|
1.05 ms (3.42%)
|
1 |
UPDATE attempt SET current_index = ? WHERE id = ?
UPDATE attempt SET current_index = 9 WHERE id = 2296;
|
0.89 ms (2.89%)
|
1 |
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = ? AND t0.question_id = ? LIMIT 1
Parameters: [
2296
5817
]
SELECT t0.id AS id_1, t0.selected_option_ids AS selected_option_ids_2, t0.is_correct AS is_correct_3, t0.points AS points_4, t0.attempt_id AS attempt_id_5, t0.question_id AS question_id_6 FROM attempt_answer t0 WHERE t0.attempt_id = 2296 AND t0.question_id = 5817 LIMIT 1;
|