SELECT * FROM things WHERE name="mongo"
================================================
> db.things.find({name:"mongo"}).forEach(printjson); { "_id" : ObjectId("4c2209f9f3924d31102bd84a"), "name" : "mongo" }
I am having a hard time finding the benefit of that except you can do it programmatically and not step out of your language of choice and into SQL.
I am just looking into this...so maybe the lightbulb will get brighter as I go through the docs for MongoDB.
SELECT * FROM things WHERE name="mongo"
================================================
> db.things.find({name:"mongo"}).forEach(printjson); { "_id" : ObjectId("4c2209f9f3924d31102bd84a"), "name" : "mongo" }
I am having a hard time finding the benefit of that except you can do it programmatically and not step out of your language of choice and into SQL.
I am just looking into this...so maybe the lightbulb will get brighter as I go through the docs for MongoDB.