7.58 ms (31.38%)
|
5 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.enabled AS enabled_3, t0.id AS id_4 FROM app_question_thema t0 WHERE t0.id = ?
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.enabled AS enabled_3, t0.id AS id_4 FROM app_question_thema t0 WHERE t0.id = 1;
|
4.86 ms (20.13%)
|
3 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.enabled AS enabled_3, t0.id AS id_4 FROM app_question_organ t0 WHERE t0.id = ?
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.enabled AS enabled_3, t0.id AS id_4 FROM app_question_organ t0 WHERE t0.id = 10;
|
2.39 ms (9.88%)
|
1 |
SELECT DISTINCT id_4 FROM (SELECT DISTINCT id_4, CASE WHEN list_position_5 IS NULL THEN 1 ELSE 0 END, list_position_5, updated_at_7 FROM (SELECT a0_.answer AS answer_0, a0_.slug AS slug_1, a0_.title AS title_2, a0_.enabled AS enabled_3, a0_.id AS id_4, a0_.list_position AS list_position_5, a0_.created_at AS created_at_6, a0_.updated_at AS updated_at_7 FROM app_question a0_ LEFT JOIN app_question_organ a1_ ON a0_.organ_id = a1_.id LEFT JOIN app_question_thema a2_ ON a0_.thema_id = a2_.id) dctrn_result_inner ORDER BY CASE WHEN list_position_5 IS NULL THEN 1 ELSE 0 END ASC, list_position_5 ASC, updated_at_7 DESC) dctrn_result LIMIT 12
SELECT DISTINCT id_4 FROM (SELECT DISTINCT id_4, CASE WHEN list_position_5 IS NULL THEN 1 ELSE 0 END, list_position_5, updated_at_7 FROM (SELECT a0_.answer AS answer_0, a0_.slug AS slug_1, a0_.title AS title_2, a0_.enabled AS enabled_3, a0_.id AS id_4, a0_.list_position AS list_position_5, a0_.created_at AS created_at_6, a0_.updated_at AS updated_at_7 FROM app_question a0_ LEFT JOIN app_question_organ a1_ ON a0_.organ_id = a1_.id LEFT JOIN app_question_thema a2_ ON a0_.thema_id = a2_.id) dctrn_result_inner ORDER BY CASE WHEN list_position_5 IS NULL THEN 1 ELSE 0 END ASC, list_position_5 ASC, updated_at_7 DESC) dctrn_result LIMIT 12;
|
2.14 ms (8.84%)
|
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_4 FROM (SELECT a0_.answer AS answer_0, a0_.slug AS slug_1, a0_.title AS title_2, a0_.enabled AS enabled_3, a0_.id AS id_4, a0_.list_position AS list_position_5, a0_.created_at AS created_at_6, a0_.updated_at AS updated_at_7 FROM app_question a0_ LEFT JOIN app_question_organ a1_ ON a0_.organ_id = a1_.id LEFT JOIN app_question_thema a2_ ON a0_.thema_id = a2_.id ORDER BY CASE WHEN a0_.list_position IS NULL THEN 1 ELSE 0 END ASC, a0_.list_position ASC, a0_.updated_at DESC) dctrn_result) dctrn_table
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_4 FROM (SELECT a0_.answer AS answer_0, a0_.slug AS slug_1, a0_.title AS title_2, a0_.enabled AS enabled_3, a0_.id AS id_4, a0_.list_position AS list_position_5, a0_.created_at AS created_at_6, a0_.updated_at AS updated_at_7 FROM app_question a0_ LEFT JOIN app_question_organ a1_ ON a0_.organ_id = a1_.id LEFT JOIN app_question_thema a2_ ON a0_.thema_id = a2_.id ORDER BY CASE WHEN a0_.list_position IS NULL THEN 1 ELSE 0 END ASC, a0_.list_position ASC, a0_.updated_at DESC) dctrn_result) dctrn_table;
|
1.90 ms (7.85%)
|
1 |
SELECT w0_.title AS title_0, w0_.webspace_key AS webspace_key_1, w0_.all_domains AS all_domains_2, w0_.content AS content_3, w0_.type AS type_4, w0_.id AS id_5, w1_.url AS url_6, w1_.environment AS environment_7, w1_.id AS id_8 FROM we_analytics w0_ LEFT JOIN we_analytics_domains w2_ ON w0_.id = w2_.analytics LEFT JOIN we_domains w1_ ON w1_.id = w2_.domain WHERE (w0_.all_domains = 1 OR (w1_.url = ? AND w1_.environment = ?)) AND w0_.webspace_key = ? ORDER BY w0_.id ASC
Parameters: [
"dod.oj-consulting.fr"
"dev"
"don-d-organes"
]
SELECT w0_.title AS title_0, w0_.webspace_key AS webspace_key_1, w0_.all_domains AS all_domains_2, w0_.content AS content_3, w0_.type AS type_4, w0_.id AS id_5, w1_.url AS url_6, w1_.environment AS environment_7, w1_.id AS id_8 FROM we_analytics w0_ LEFT JOIN we_analytics_domains w2_ ON w0_.id = w2_.analytics LEFT JOIN we_domains w1_ ON w1_.id = w2_.domain WHERE (w0_.all_domains = 1 OR (w1_.url = 'dod.oj-consulting.fr' AND w1_.environment = 'dev')) AND w0_.webspace_key = 'don-d-organes' ORDER BY w0_.id ASC;
|
1.83 ms (7.56%)
|
1 |
SELECT a0_.answer AS answer_0, a0_.slug AS slug_1, a0_.title AS title_2, a0_.enabled AS enabled_3, a0_.id AS id_4, a0_.list_position AS list_position_5, a0_.created_at AS created_at_6, a0_.updated_at AS updated_at_7, a0_.organ_id AS organ_id_8, a0_.thema_id AS thema_id_9 FROM app_question a0_ LEFT JOIN app_question_organ a1_ ON a0_.organ_id = a1_.id LEFT JOIN app_question_thema a2_ ON a0_.thema_id = a2_.id WHERE a0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY CASE WHEN a0_.list_position IS NULL THEN 1 ELSE 0 END ASC, a0_.list_position ASC, a0_.updated_at DESC
Parameters: [
87
1
136
135
134
133
132
131
130
129
128
127
]
SELECT a0_.answer AS answer_0, a0_.slug AS slug_1, a0_.title AS title_2, a0_.enabled AS enabled_3, a0_.id AS id_4, a0_.list_position AS list_position_5, a0_.created_at AS created_at_6, a0_.updated_at AS updated_at_7, a0_.organ_id AS organ_id_8, a0_.thema_id AS thema_id_9 FROM app_question a0_ LEFT JOIN app_question_organ a1_ ON a0_.organ_id = a1_.id LEFT JOIN app_question_thema a2_ ON a0_.thema_id = a2_.id WHERE a0_.id IN (87, 1, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127) ORDER BY CASE WHEN a0_.list_position IS NULL THEN 1 ELSE 0 END ASC, a0_.list_position ASC, a0_.updated_at DESC;
|
1.79 ms (7.40%)
|
1 |
SELECT a0_.name AS name_0, a0_.slug AS slug_1 FROM app_question_organ a0_ WHERE a0_.enabled = ?
SELECT a0_.name AS name_0, a0_.slug AS slug_1 FROM app_question_organ a0_ WHERE a0_.enabled = 1;
|
1.68 ms (6.96%)
|
1 |
SELECT a0_.name AS name_0, a0_.slug AS slug_1 FROM app_question_thema a0_ WHERE a0_.enabled = ?
SELECT a0_.name AS name_0, a0_.slug AS slug_1 FROM app_question_thema a0_ WHERE a0_.enabled = 1;
|