Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
kunderaを使って以下のmongodbクエリを実行したい
db.storemaster.find( { loc: { $near : {$geometry: { type: \"Point\", coordinates: [ 78.35249829999998, 17.4613602 ] }, $maxDistance: 5000 } }})
助けて..
使ってみましたか?
String execScript = "db.storemaster.find( { loc: { $near : {$geometry: { type: \"Point\", coordinates: [ 78.35249829999998, 17.4613602 ] }, $maxDistance: 5000 } }}).toArray()"; Object result = (client).executeScript(execScript);
チャビ