Mongo Aggregation FrameworkΒΆ

Mongo Aggregation Framework helper.

cur = db.aggregate(Doc).match({'i': {'$gt': 13}}).project(a='$i').limit(8)