1
0.71 ms
SELECT DISTINCT p0_ . id AS id_0 , p0_ . published_at AS published_at_1 FROM post p0_ ORDER BY p0_ . published_at DESC LIMIT 20
SELECT DISTINCT p0_ . id AS id_0 , p0_ . published_at AS published_at_1 FROM post p0_ ORDER BY p0_ . published_at DESC LIMIT 20 ;
Copy
2
0.31 ms
SELECT p0_ . id AS id_0 , p0_ . title AS title_1 , p0_ . slug AS slug_2 , p0_ . summary AS summary_3 , p0_ . content AS content_4 , p0_ . published_at AS published_at_5 , p0_ . status AS status_6 , p0_ . featured_image AS featured_image_7 , p0_ . scheduled_at AS scheduled_at_8 , p0_ . view_count AS view_count_9 , p0_ . is_featured AS is_featured_10 , p0_ . series_position AS series_position_11 , p0_ . author_id AS author_id_12 , p0_ . category_id AS category_id_13 , p0_ . series_id AS series_id_14 FROM post p0_ WHERE p0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY p0_ . published_at DESC
Parameters :
[
5
45
38
22
21
23
17
36
1
9
7
8
14
13
10
16
15
52
11
51
]
SELECT p0_ . id AS id_0 , p0_ . title AS title_1 , p0_ . slug AS slug_2 , p0_ . summary AS summary_3 , p0_ . content AS content_4 , p0_ . published_at AS published_at_5 , p0_ . status AS status_6 , p0_ . featured_image AS featured_image_7 , p0_ . scheduled_at AS scheduled_at_8 , p0_ . view_count AS view_count_9 , p0_ . is_featured AS is_featured_10 , p0_ . series_position AS series_position_11 , p0_ . author_id AS author_id_12 , p0_ . category_id AS category_id_13 , p0_ . series_id AS series_id_14 FROM post p0_ WHERE p0_ . id IN (5 , 45 , 38 , 22 , 21 , 23 , 17 , 36 , 1 , 9 , 7 , 8 , 14 , 13 , 10 , 16 , 15 , 52 , 11 , 51 ) ORDER BY p0_ . published_at DESC ;
Copy
3
4.26 ms
SELECT count (* ) AS sclr_0 FROM post p0_
SELECT count (* ) AS sclr_0 FROM post p0_ ;
Copy
4
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 = 3 ;
Copy
5
0.12 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 5 ;
Copy
6
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 = 6 ;
Copy
7
0.13 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 6 ;
Copy
8
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 = 1 ;
Copy
9
0.12 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 1 ;
Copy
10
0.13 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 7 ;
Copy
11
0.17 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
12
0.11 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 3 ;
Copy
13
0.14 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 4 ;
Copy
14
0.25 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.18 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
16
0.15 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . color AS color_5 , t0 . icon AS icon_6 , t0 . position AS position_7 , t0 . created_at AS created_at_8 FROM category t0 WHERE t0 . id = 8 ;
Copy
17
0.17 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
18
0.18 ms
SELECT COUNT (* ) FROM post t0 WHERE t0 . status = ?
SELECT COUNT (* ) FROM post t0 WHERE t0 . status = 'draft' ;
Copy
19
0.13 ms
SELECT COUNT (* ) FROM comment t0 WHERE t0 . status = ?
Parameters :
[
"pending "
]
SELECT COUNT (* ) FROM comment t0 WHERE t0 . status = 'pending' ;
Copy
20
0.12 ms
SELECT COUNT (* ) FROM subscriber t0 WHERE t0 . is_confirmed = ?
SELECT COUNT (* ) FROM subscriber t0 WHERE t0 . is_confirmed = 0 ;
Copy