1
0.54 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . active AS active_3 , t0 . iso AS iso_4 , t0 . color AS color_5 , t0 . domain AS domain_6 , t0 . name_in_language AS name_in_language_7 , t0 . writing_direction AS writing_direction_8 , t0 . time_zone AS time_zone_9 FROM language t0 WHERE t0 . iso = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . active AS active_3 , t0 . iso AS iso_4 , t0 . color AS color_5 , t0 . domain AS domain_6 , t0 . name_in_language AS name_in_language_7 , t0 . writing_direction AS writing_direction_8 , t0 . time_zone AS time_zone_9 FROM language t0 WHERE t0 . iso = 'en' LIMIT 1 ;
Copy
2
0.35 ms
SELECT r0_ . id AS id_0 , r0_ . name AS name_1 , r0_ . email AS email_2 FROM reporter r0_ WHERE r0_ . id = ?
SELECT r0_ . id AS id_0 , r0_ . name AS name_1 , r0_ . email AS email_2 FROM reporter r0_ WHERE r0_ . id = 6 ;
Copy
3
0.75 ms
SELECT COUNT (n0_ . id ) AS sclr_0 FROM news n0_ WHERE n0_ . reporter_id = ? AND n0_ . status = ?
SELECT COUNT (n0_ . id ) AS sclr_0 FROM news n0_ WHERE n0_ . reporter_id = 6 AND n0_ . status = 'a' ;
Copy
4
0.32 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . active AS active_3 , t0 . iso AS iso_4 , t0 . color AS color_5 , t0 . domain AS domain_6 , t0 . name_in_language AS name_in_language_7 , t0 . writing_direction AS writing_direction_8 , t0 . time_zone AS time_zone_9 FROM language t0 WHERE t0 . iso = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . active AS active_3 , t0 . iso AS iso_4 , t0 . color AS color_5 , t0 . domain AS domain_6 , t0 . name_in_language AS name_in_language_7 , t0 . writing_direction AS writing_direction_8 , t0 . time_zone AS time_zone_9 FROM language t0 WHERE t0 . iso = 'en' LIMIT 1 ;
Copy
5
0.56 ms
SELECT c0_ . id AS id_0 , c0_ . name AS name_1 , c0_ . active AS active_2 , c0_ . slug AS slug_3 , c0_ . sorting_rank AS sorting_rank_4 , c1_ . id AS id_5 , c1_ . name AS name_6 , c1_ . active AS active_7 , c1_ . slug AS slug_8 , c1_ . sorting_rank AS sorting_rank_9 , c0_ . language_id AS language_id_10 , c0_ . parent_id AS parent_id_11 , c1_ . language_id AS language_id_12 , c1_ . parent_id AS parent_id_13 FROM category c0_ LEFT JOIN category c1_ ON c0_ . id = c1_ . parent_id AND (c1_ . active = 1 ) WHERE c0_ . language_id = ? AND c0_ . parent_id IS NULL AND c0_ . active = 1 ORDER BY c0_ . sorting_rank ASC , c1_ . sorting_rank ASC , c1_ . name ASC
SELECT c0_ . id AS id_0 , c0_ . name AS name_1 , c0_ . active AS active_2 , c0_ . slug AS slug_3 , c0_ . sorting_rank AS sorting_rank_4 , c1_ . id AS id_5 , c1_ . name AS name_6 , c1_ . active AS active_7 , c1_ . slug AS slug_8 , c1_ . sorting_rank AS sorting_rank_9 , c0_ . language_id AS language_id_10 , c0_ . parent_id AS parent_id_11 , c1_ . language_id AS language_id_12 , c1_ . parent_id AS parent_id_13 FROM category c0_ LEFT JOIN category c1_ ON c0_ . id = c1_ . parent_id AND (c1_ . active = 1 ) WHERE c0_ . language_id = 2 AND c0_ . parent_id IS NULL AND c0_ . active = 1 ORDER BY c0_ . sorting_rank ASC , c1_ . sorting_rank ASC , c1_ . name ASC ;
Copy
6
0.29 ms
SELECT COUNT (a . id )
FROM advertisement a
WHERE a . location = ?
AND a . status = ?
AND a . start_date < = ?
AND a . end_date > = ?
Parameters :
[
"header "
"active "
"2026-03-24 "
"2026-03-24 "
]
SELECT COUNT (a . id )
FROM advertisement a
WHERE a . location = 'header'
AND a . status = 'active'
AND a . start_date < = '2026-03-24'
AND a . end_date > = '2026-03-24' ;
Copy
7
0.90 ms
SELECT n0_ . id AS id_0 , n0_ . news_id AS news_id_1 , n0_ . title AS title_2 , n0_ . publish_date AS publish_date_3 , n0_ . created_on AS created_on_4 , n0_ . old_id AS old_id_5 , c1_ . name AS name_6 , l2_ . iso AS iso_7 FROM news n0_ INNER JOIN category c1_ ON n0_ . category_id = c1_ . id INNER JOIN language l2_ ON n0_ . language_id = l2_ . id WHERE n0_ . reporter_id = ? AND n0_ . status = ? ORDER BY n0_ . publish_date DESC , n0_ . id DESC LIMIT 10
SELECT n0_ . id AS id_0 , n0_ . news_id AS news_id_1 , n0_ . title AS title_2 , n0_ . publish_date AS publish_date_3 , n0_ . created_on AS created_on_4 , n0_ . old_id AS old_id_5 , c1_ . name AS name_6 , l2_ . iso AS iso_7 FROM news n0_ INNER JOIN category c1_ ON n0_ . category_id = c1_ . id INNER JOIN language l2_ ON n0_ . language_id = l2_ . id WHERE n0_ . reporter_id = 6 AND n0_ . status = 'a' ORDER BY n0_ . publish_date DESC , n0_ . id DESC LIMIT 10 ;
Copy
8
0.42 ms
SELECT i0_ . news_id AS sclr_0 , MAX (i0_ . id ) AS sclr_1 FROM image_store i0_ WHERE i0_ . is_primary = ? AND i0_ . news_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? ) GROUP BY i0_ . news_id
Parameters :
[
1
41546
41545
41537
41516
41515
41514
41498
41491
41454
]
SELECT i0_ . news_id AS sclr_0 , MAX (i0_ . id ) AS sclr_1 FROM image_store i0_ WHERE i0_ . is_primary = 1 AND i0_ . news_id IN (41546 , 41545 , 41537 , 41516 , 41515 , 41514 , 41498 , 41491 , 41454 ) GROUP BY i0_ . news_id ;
Copy
9
0.33 ms
SELECT COUNT (a . id )
FROM advertisement a
WHERE a . location = ?
AND a . status = ?
AND a . start_date < = ?
AND a . end_date > = ?
Parameters :
[
"mega_footer "
"active "
"2026-03-24 "
"2026-03-24 "
]
SELECT COUNT (a . id )
FROM advertisement a
WHERE a . location = 'mega_footer'
AND a . status = 'active'
AND a . start_date < = '2026-03-24'
AND a . end_date > = '2026-03-24' ;
Copy