LMongo\Query\Cursor::countAll PHP Method

countAll() public method

Counts all query results
public countAll ( ) : integer
return integer
    public function countAll()
    {
        return $this->cursor->count();
    }