MongoDb Unversity offers great lectures for learning more about MongoDb. However the Chapter 2 of the lecture in the aggregation framework on using $geoNear, the limit parameter used on the lecture is outdated. MongoDb currently offers $limit for the functionality. Cheers!
Hi @Byron_Odhiambo, welcome to the community .
Please take a look at this recent discussion that addresses the same issue:
If you have any doubts, please feel free to reach out to us.
Thanks and Regards.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.