Package | Description |
---|---|
com.mongodb |
Modifier and Type | Method and Description |
---|---|
DBObject |
DBCollection.group(GroupCommand cmd)
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
|
DBObject |
DBCollection.group(GroupCommand cmd,
com.mongodb.ReadPreference readPreference)
Group documents in a collection by the specified key and performs simple aggregation functions such as computing counts and sums.
|
Copyright © 2017. All rights reserved.