How to use aggregate queries in MongoDB version 2.0.6
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:23:07
0
1
728

In MongoDB version 2.4, there are Aggregat() and Pineline() pipeline queries, but how to use this function in version 2.0.6, because 2.0.6 does not have the aggregate method. So how to implement aggregation group query? Need to use group() method.

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
洪涛

Aggregation is a new feature added in 2.2. Consider using map/reduce in earlier versions.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template