db.collection.aggregate([{$geoNear:{ "near":[ 118.116677, 24.463955], "spherical":true, "distanceField":"distance", "limit":5}}, {$sort:{"id":1}}])
posted on 2015-12-09 15:44  chimmu  阅读(174)  评论(0)    收藏  举报