K
->firstOrFail();
$posts = $category->posts()->paginate(7);
select count(*) as aggregate from `posts` where `posts`.`category_id` = 106 and `posts`.`category_id` is not nullчто он выдает is not null
Size: a a a
K
select count(*) as aggregate from `posts` where `posts`.`category_id` = 106 and `posts`.`category_id` is not nullчто он выдает is not null
ИЛ
RK
А
А
SG
select count(*) as aggregate from `posts` where `posts`.`category_id` = 106 and `posts`.`category_id` is not nullчто он выдает is not null
VS
SG
SG
А
VS
VS
RK
А
VS
RK
А
SG
RK
SG