Mongodb

Mongodb

MongoDB附近(商家)查询

一数据结构uselbs;db.lbs.insert({loc:{type:"Point",coordinates:[113.332264,23.156206]},name:"aaaaaa"})db.lbs.insert({loc:{type:"Point",coordinates:[113.330611,23.147234]},name:"bbbbb"})db.lbs.insert({loc:{type:"Point