Database Reference
In-Depth Information
{
"dis" : 125006.87383713324,
"obj" : {
"_id" : ObjectId("51ace11b80523d89efd199ad"),
"name" : "Shabu Shabu",
"loc" : {
"type" : "Point",
"coordinates" : [
51.915288,
4.472786
]
}
}
}
],
"stats" : {
"time" : 6,
"nscanned" : 3,
"avgDistance" : 75868.7847632543,
"maxDistance" : 125006.87383713324
},
"ok" : 1
}
That completes our introduction to geospatial information for now; however, you'll
see a few more examples that show you how to leverage geospatial functions in this
book's upcoming chapters.
Using MongoDB in the Real World
Now that you have MongoDB and its associated plug-ins installed, and you have gained
an understanding of the data model, it's time to get to work. In the next five chapters
of the topic, you will learn how to build, query, and otherwise manipulate a variety of
sample MongoDB databases (see Table 3-1 for a quick view of the topics to come). Each
chapter will stick primarily to using a single database that is unique to that chapter; we
took this approach to make it easier to read this topic in a modular fashion.
 
Search WWH ::




Custom Search