PHPDaemon\Clients\Mongo\Collection::group PHP 메소드

group() 공개 메소드

Groupping function
public group ( callable $cb, array $p = [] ) : void
$cb callable Callback called when response received
$p array Hash of properties (offset, limit, opts, key, col, reduce, initial)
리턴 void
    public function group($cb, $p = [])
    {
        $p['col'] = $this->name;
        $this->pool->group($p, $cb);
    }