1
0.97 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 80
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 80 ;
Copy
2
0.20 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 :
[
37
35
38
141
140
142
72
74
73
75
71
109
114
110
112
113
107
108
111
13
]
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 (37 , 35 , 38 , 141 , 140 , 142 , 72 , 74 , 73 , 75 , 71 , 109 , 114 , 110 , 112 , 113 , 107 , 108 , 111 , 13 ) ORDER BY p1_ . title DESC , c0_ . published_at DESC ;
Copy
3
0.27 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.20 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 = 9 ;
Copy
5
0.15 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 = 49 ;
Copy
6
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 = 21 ;
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 = 37 ;
Copy
8
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 = 5 ;
Copy
9
0.29 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.19 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
13
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
14
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 = 9 ;
Copy
15
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 = 7 ;
Copy
16
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 = 3 ;
Copy
17
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 = 1 ;
Copy
18
0.19 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
19
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 = 6 ;
Copy
20
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 = 5 ;
Copy