[ sql ] select `post`.* from `cmf_portal_post` `post` where `post`.`post_type` = 1 and `post`.`post_status` = 1 and `post`.`delete_time` = 0 and `post`.`id` < 123 and ( `post`.`published_time` < 1703950653 and `post`.`published_time` > 0 ) order by `id` desc limit 1 [ runtime:0.000840s ]
[ sql ] select `post`.* from `cmf_portal_post` `post` where `post`.`post_type` = 1 and `post`.`post_status` = 1 and `post`.`delete_time` = 0 and `post`.`id` > 123 and ( `post`.`published_time` < 1703950653 and `post`.`published_time` > 0 ) order by `id` asc limit 1 [ runtime:0.000556s ]
[ sql ] show columns from `cmf_portal_category_post` [ runtime:0.000711s ]
[ sql ] show columns from `cmf_portal_category` [ runtime:0.000684s ]
[ sql ] select `cmf_portal_category`.*,`pivot`.`id` as `pivot__id`,`pivot`.`post_id` as `pivot__post_id`,`pivot`.`category_id` as `pivot__category_id`,`pivot`.`list_order` as `pivot__list_order`,`pivot`.`status` as `pivot__status` from `cmf_portal_category` inner join `cmf_portal_category_post` `pivot` on `pivot`.`category_id`=`cmf_portal_category`.`id` where `pivot`.`post_id` = 123 [ runtime:0.000629s ]