Simba, Конкретно вот этот запрос
select count(*) as aggregate from `notifications` where `read_at` is null and `user_id` = ? Simba, Конкретно вот этот запрос
select count(*) as aggregate from `notifications` where `read_at` is null and `user_id` = ?