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  阅读(169)  评论(0编辑  收藏  举报