1.15 ms (24.31%)
|
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.publish_date AS publish_date_3, a0_.created_at AS created_at_4, a0_.publish AS publish_5, a0_.image AS image_6 FROM article a0_ INNER JOIN article_category a2_ ON a0_.id = a2_.article_id INNER JOIN category c1_ ON c1_.id = a2_.category_id WHERE c1_.id = ? ORDER BY a0_.id DESC) dctrn_result) dctrn_table
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.publish_date AS publish_date_3, a0_.created_at AS created_at_4, a0_.publish AS publish_5, a0_.image AS image_6 FROM article a0_ INNER JOIN article_category a2_ ON a0_.id = a2_.article_id INNER JOIN category c1_ ON c1_.id = a2_.category_id WHERE c1_.id = 5 ORDER BY a0_.id DESC) dctrn_result) dctrn_table;
|
0.96 ms (20.27%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.publish_date AS publish_date_4, t0.created_at AS created_at_5, t0.publish AS publish_6, t0.image AS image_7, t0.author_id AS author_id_8 FROM article t0 INNER JOIN article_category ON t0.id = article_category.article_id WHERE article_category.category_id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.publish_date AS publish_date_4, t0.created_at AS created_at_5, t0.publish AS publish_6, t0.image AS image_7, t0.author_id AS author_id_8 FROM article t0 INNER JOIN article_category ON t0.id = article_category.article_id WHERE article_category.category_id = 2;
|
0.87 ms (18.36%)
|
3 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.publish_date AS publish_date_4, t0.created_at AS created_at_5, t0.publish AS publish_6, t0.image AS image_7, t0.author_id AS author_id_8 FROM article t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.publish_date AS publish_date_4, t0.created_at AS created_at_5, t0.publish AS publish_6, t0.image AS image_7, t0.author_id AS author_id_8 FROM article t0 WHERE t0.id = '732';
|
0.48 ms (10.08%)
|
1 |
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.publish_date AS publish_date_3, a0_.created_at AS created_at_4, a0_.publish AS publish_5, a0_.image AS image_6, a0_.author_id AS author_id_7 FROM article a0_ INNER JOIN article_category a2_ ON a0_.id = a2_.article_id INNER JOIN category c1_ ON c1_.id = a2_.category_id WHERE c1_.id = ? ORDER BY a0_.id DESC LIMIT 9 OFFSET 18
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.publish_date AS publish_date_3, a0_.created_at AS created_at_4, a0_.publish AS publish_5, a0_.image AS image_6, a0_.author_id AS author_id_7 FROM article a0_ INNER JOIN article_category a2_ ON a0_.id = a2_.article_id INNER JOIN category c1_ ON c1_.id = a2_.category_id WHERE c1_.id = 5 ORDER BY a0_.id DESC LIMIT 9 OFFSET 18;
|
0.39 ms (8.34%)
|
2 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0 INNER JOIN article_category ON t0.id = article_category.category_id WHERE article_category.article_id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0 INNER JOIN article_category ON t0.id = article_category.category_id WHERE article_category.article_id = 732;
|
0.23 ms (4.83%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0 WHERE t0.title = ?
Parameters: [
"Actualités"
]
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0 WHERE t0.title = 'Actualités';
|
0.17 ms (3.56%)
|
1 |
SELECT t0.id AS id_1, t0.file AS file_2, t0.created_at AS created_at_3, t0.post_id AS post_id_4 FROM file t0 WHERE t0.post_id = ?
SELECT t0.id AS id_1, t0.file AS file_2, t0.created_at AS created_at_3, t0.post_id AS post_id_4 FROM file t0 WHERE t0.post_id = 732;
|
0.14 ms (2.94%)
|
1 |
SELECT t0.id AS id_1, t0.image AS image_2, t0.post_id AS post_id_3 FROM gallery t0 WHERE t0.post_id = ?
SELECT t0.id AS id_1, t0.image AS image_2, t0.post_id AS post_id_3 FROM gallery t0 WHERE t0.post_id = 732;
|
0.12 ms (2.61%)
|
1 |
SELECT t0.id AS id_1, t0.matricule AS matricule_2, t0.roles AS roles_3, t0.password AS password_4 FROM `user` t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.matricule AS matricule_2, t0.roles AS roles_3, t0.password AS password_4 FROM `user` t0 WHERE t0.id = 1;
|
0.11 ms (2.41%)
|
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.image AS image_4, t0.created_at AS created_at_5, t0.parent_id AS parent_id_6 FROM category t0;
|
0.11 ms (2.29%)
|
1 |
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.publish_date AS publish_date_3, a0_.created_at AS created_at_4, a0_.publish AS publish_5, a0_.image AS image_6, a0_.author_id AS author_id_7 FROM article a0_ ORDER BY a0_.id DESC LIMIT 1
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.description AS description_2, a0_.publish_date AS publish_date_3, a0_.created_at AS created_at_4, a0_.publish AS publish_5, a0_.image AS image_6, a0_.author_id AS author_id_7 FROM article a0_ ORDER BY a0_.id DESC LIMIT 1;
|