DEV Community 👩‍💻👨‍💻

Discussion on: Tutorial: GeoSpatial Search In MongoDB The Easy Way!

djnitehawk profile image
Dĵ ΝιΓΞΗΛψΚ Author

i just copy/pasted the above code into a new console project and it works fine. here's a gist if you wanna try again. the only thing i had to add was the connection initialization.