MongoDB $geoNear and $match

后端 未结 0 480
走了就别回头了
走了就别回头了 2020-12-19 05:32

I have 2 million rows in my mongo DB. When i try make code below it takes 50 seconds.

const aggregateResult = await User.aggregate([
    {
        $geoNear: {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题