Answers for "cakephp group by count"

PHP
0

cakephp group by count

$query = $articles->find();
$query->select([
    'count' => $query->func()->count('view_count'),
    'published_date' => 'DATE(created)'
])
->group('published_date')
->having(['count >' => 3]);
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language