db.collection('weizhi').where({
Geo: db.command.geoNear({
geometry: new db.Geo.Point(11.111, 107.235),
maxDistance: 1500,
minDistance: 0
})
}).get().then(ress => {
console.log(ress);
})
查了很久了,都看不出哪里错了!
索引也有添加了。