0.85 ms (39.79%)
|
1 |
SELECT b0_.id AS id_0, b0_.author_name AS author_name_1, b0_.author_email AS author_email_2, b0_.content AS content_3, b0_.is_approved AS is_approved_4, b0_.created_at AS created_at_5, b0_.post_id AS post_id_6, b0_.parent_id AS parent_id_7 FROM blog_comments b0_ INNER JOIN blog_posts b1_ ON b0_.post_id = b1_.id WHERE b1_.slug = ? AND b0_.is_approved = 1 AND b0_.parent_id IS NULL ORDER BY b0_.created_at ASC
SELECT b0_.id AS id_0, b0_.author_name AS author_name_1, b0_.author_email AS author_email_2, b0_.content AS content_3, b0_.is_approved AS is_approved_4, b0_.created_at AS created_at_5, b0_.post_id AS post_id_6, b0_.parent_id AS parent_id_7 FROM blog_comments b0_ INNER JOIN blog_posts b1_ ON b0_.post_id = b1_.id WHERE b1_.slug = 'test' AND b0_.is_approved = 1 AND b0_.parent_id IS NULL ORDER BY b0_.created_at ASC;
|
0.79 ms (37.01%)
|
2 |
SELECT t0.id AS id_1, t0.author_name AS author_name_2, t0.author_email AS author_email_3, t0.content AS content_4, t0.is_approved AS is_approved_5, t0.created_at AS created_at_6, t0.post_id AS post_id_7, t0.parent_id AS parent_id_8 FROM blog_comments t0 WHERE t0.parent_id = ?
SELECT t0.id AS id_1, t0.author_name AS author_name_2, t0.author_email AS author_email_3, t0.content AS content_4, t0.is_approved AS is_approved_5, t0.created_at AS created_at_6, t0.post_id AS post_id_7, t0.parent_id AS parent_id_8 FROM blog_comments t0 WHERE t0.parent_id = 1;
|
0.49 ms (23.19%)
|
1 |
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.slug AS slug_2, b0_.excerpt AS excerpt_3, b0_.content AS content_4, b0_.image_path AS image_path_5, b0_.video_embed AS video_embed_6, b0_.intro_text AS intro_text_7, b0_.gallery AS gallery_8, b0_.outro_text AS outro_text_9, b0_.is_published AS is_published_10, b0_.published_at AS published_at_11, b0_.created_at AS created_at_12, b0_.updated_at AS updated_at_13 FROM blog_posts b0_ WHERE b0_.slug = ?
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.slug AS slug_2, b0_.excerpt AS excerpt_3, b0_.content AS content_4, b0_.image_path AS image_path_5, b0_.video_embed AS video_embed_6, b0_.intro_text AS intro_text_7, b0_.gallery AS gallery_8, b0_.outro_text AS outro_text_9, b0_.is_published AS is_published_10, b0_.published_at AS published_at_11, b0_.created_at AS created_at_12, b0_.updated_at AS updated_at_13 FROM blog_posts b0_ WHERE b0_.slug = 'test';
|