user.aggregate([ { $match: { age: { $gt: 18 }, city: { $in: ["chicago", "paris"] } } }, { $sort: { last_logged_in: -1 } }, { $limit: 10000 } ])
如果
user
10,000
100,000