As documents said, we could use Phalcon\Mvc\Collection::count() like this:
public static array count ([array $parameters])
Perform a count over a collection
<?php
echo 'There are ', Robots::count(), ' robots';
But actually, it's return is just like \Phalcon\Mvc\Collection::find() .
bug?
As documents said, we could use Phalcon\Mvc\Collection::count() like this:
Perform a count over a collection
But actually, it's return is just like \Phalcon\Mvc\Collection::find() .
bug?