1
0.90 ms
SELECT DISTINCT c0_ . id AS id_0 , p1_ . title AS title_1 , c0_ . published_at AS published_at_2 FROM comment c0_ LEFT JOIN post p1_ ON c0_ . post_id = p1_ . id ORDER BY p1_ . title DESC , c0_ . published_at DESC LIMIT 20 OFFSET 120
SELECT DISTINCT c0_ . id AS id_0 , p1_ . title AS title_1 , c0_ . published_at AS published_at_2 FROM comment c0_ LEFT JOIN post p1_ ON c0_ . post_id = p1_ . id ORDER BY p1_ . title DESC , c0_ . published_at DESC LIMIT 20 OFFSET 120 ;
Copy
2
0.24 ms
SELECT c0_ . id AS id_0 , c0_ . content AS content_1 , c0_ . published_at AS published_at_2 , c0_ . status AS status_3 , c0_ . author_id AS author_id_4 , c0_ . post_id AS post_id_5 FROM comment c0_ LEFT JOIN post p1_ ON c0_ . post_id = p1_ . id WHERE c0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY p1_ . title DESC , c0_ . published_at DESC
Parameters :
[
68
69
102
101
103
104
106
105
46
47
49
52
53
48
51
50
44
63
59
64
]
SELECT c0_ . id AS id_0 , c0_ . content AS content_1 , c0_ . published_at AS published_at_2 , c0_ . status AS status_3 , c0_ . author_id AS author_id_4 , c0_ . post_id AS post_id_5 FROM comment c0_ LEFT JOIN post p1_ ON c0_ . post_id = p1_ . id WHERE c0_ . id IN (68 , 69 , 102 , 101 , 103 , 104 , 106 , 105 , 46 , 47 , 49 , 52 , 53 , 48 , 51 , 50 , 44 , 63 , 59 , 64 ) ORDER BY p1_ . title DESC , c0_ . published_at DESC ;
Copy
3
0.19 ms
SELECT count (DISTINCT c0_ . id ) AS sclr_0 FROM comment c0_ LEFT JOIN post p1_ ON c0_ . post_id = p1_ . id
SELECT count (DISTINCT c0_ . id ) AS sclr_0 FROM comment c0_ LEFT JOIN post p1_ ON c0_ . post_id = p1_ . id ;
Copy
4
0.14 ms
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = 20 ;
Copy
5
0.12 ms
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = 36 ;
Copy
6
0.12 ms
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = 16 ;
Copy
7
0.16 ms
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = 14 ;
Copy
8
0.12 ms
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . slug AS slug_3 , t0 . summary AS summary_4 , t0 . content AS content_5 , t0 . published_at AS published_at_6 , t0 . status AS status_7 , t0 . featured_image AS featured_image_8 , t0 . scheduled_at AS scheduled_at_9 , t0 . view_count AS view_count_10 , t0 . is_featured AS is_featured_11 , t0 . series_position AS series_position_12 , t0 . author_id AS author_id_13 , t0 . category_id AS category_id_14 , t0 . series_id AS series_id_15 FROM post t0 WHERE t0 . id = 19 ;
Copy
9
0.30 ms
SELECT COUNT (* ) FROM post t0 WHERE t0 . status = ?
SELECT COUNT (* ) FROM post t0 WHERE t0 . status = 'draft' ;
Copy
10
0.13 ms
SELECT COUNT (* ) FROM comment t0 WHERE t0 . status = ?
Parameters :
[
"pending "
]
SELECT COUNT (* ) FROM comment t0 WHERE t0 . status = 'pending' ;
Copy
11
0.12 ms
SELECT COUNT (* ) FROM subscriber t0 WHERE t0 . is_confirmed = ?
SELECT COUNT (* ) FROM subscriber t0 WHERE t0 . is_confirmed = 0 ;
Copy
12
0.16 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 10 ;
Copy
13
0.15 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 7 ;
Copy
14
0.13 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 8 ;
Copy
15
0.12 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 9 ;
Copy
16
0.16 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 1 ;
Copy
17
0.13 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 6 ;
Copy
18
0.15 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 4 ;
Copy
19
0.13 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 2 ;
Copy
20
0.14 ms
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . full_name AS full_name_2 , t0 . username AS username_3 , t0 . email AS email_4 , t0 . password AS password_5 , t0 . roles AS roles_6 , t0 . bio AS bio_7 , t0 . website AS website_8 , t0 . twitter_handle AS twitter_handle_9 , t0 . is_verified AS is_verified_10 , t0 . last_login_at AS last_login_at_11 FROM user t0 WHERE t0 . id = 3 ;
Copy