Mongodb subfield select
Hello I have the following db:
My question is how do I "SELECT name FROM posts Where thread=Sloan"
Because I'm trying into RockMongo shell :
"db.users.find({"posts.thread":'Sloan'})" but it's return all the
collection data
No comments:
Post a Comment