Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
PHPDaemon
Clients
Mongo
Collection
group
PHPDaemon\Clients\Mongo\Collection::group PHP Méthode
Collection Class Documentation
Afficher le fichier
Open project: kakserpom/phpdaemon
group()
public
méthode
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)
Résultat
void
public function group($cb, $p = []) { $p['col'] = $this->name; $this->pool->group($p, $cb); }
Collection
__construct
aggregate
autoincrement
count
ensureIndex
evaluate
find
findAll
findAndModify
findOne
group
insert
insertMulti
insertOne
remove
update
updateMulti
updateOne
upsert
upsertMulti
upsertOne