๐ก How do I create a 2dsphere index in MongoDB?
๐ก Explain how to use $near for proximity searches.
๐ก What's the best way to optimize MongoDB queries for large datasets?
๐ก Can you show me a JavaScript function for MongoDB geospatial queries?