3 |
1.49 ms |
SELECT n0_.id AS id_0, n0_.updated_at AS updated_at_1, n0_.published_at AS published_at_2, n0_.active AS active_3, n0_.advertising AS advertising_4, n0_.title AS title_5, n0_.slug AS slug_6, n0_.description AS description_7, n0_.description_short AS description_short_8, n0_.video AS video_9, n0_.meta_title AS meta_title_10, n0_.meta_description AS meta_description_11, n0_.meta_keywords AS meta_keywords_12, m1_.id AS id_13, m1_.title AS title_14, m1_.private AS private_15, m1_.sort AS sort_16, m1_.file_path AS file_path_17, m2_.id AS id_18, m2_.title AS title_19, m2_.private AS private_20, m2_.sort AS sort_21, m2_.file_path AS file_path_22, n0_.help_program_id AS help_program_id_23, n0_.help_person_id AS help_person_id_24, n0_.image_id AS image_id_25 FROM news n0_ LEFT JOIN media m1_ ON n0_.image_id = m1_.id LEFT JOIN news_images n3_ ON n0_.id = n3_.news_id LEFT JOIN media m2_ ON m2_.id = n3_.image_id WHERE n0_.active = ? AND n0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY n0_.published_at DESC
Parameters: [
1
45
44
42
41
40
39
38
14
43
]
SELECT n0_.id AS id_0, n0_.updated_at AS updated_at_1, n0_.published_at AS published_at_2, n0_.active AS active_3, n0_.advertising AS advertising_4, n0_.title AS title_5, n0_.slug AS slug_6, n0_.description AS description_7, n0_.description_short AS description_short_8, n0_.video AS video_9, n0_.meta_title AS meta_title_10, n0_.meta_description AS meta_description_11, n0_.meta_keywords AS meta_keywords_12, m1_.id AS id_13, m1_.title AS title_14, m1_.private AS private_15, m1_.sort AS sort_16, m1_.file_path AS file_path_17, m2_.id AS id_18, m2_.title AS title_19, m2_.private AS private_20, m2_.sort AS sort_21, m2_.file_path AS file_path_22, n0_.help_program_id AS help_program_id_23, n0_.help_person_id AS help_person_id_24, n0_.image_id AS image_id_25 FROM news n0_ LEFT JOIN media m1_ ON n0_.image_id = m1_.id LEFT JOIN news_images n3_ ON n0_.id = n3_.news_id LEFT JOIN media m2_ ON m2_.id = n3_.image_id WHERE n0_.active = 1 AND n0_.id IN (45, 44, 42, 41, 40, 39, 38, 14, 43) ORDER BY n0_.published_at DESC;
|