title: How to get attributes from object which is in another one?
body: <p>here is an example structure of one object in my MongoDB:</p>
  
  <pre><code>{    
   "itemClass": 4,
   "containerSlots": 0,
   "itemBind": 1,
   "weaponInfo": {
     "dps": "0.0",
     "damage": {
       "maxDamage": 0,
       "minDamage": 0
     },
     "weaponSpeed": "0.5"
   }
  }
  </code></pre>
  
  <p>I need to find maxDamage which is 1</p>
  
  <p>here is my query:</p>
  
  <pre><code>db.items.find({"maxDamage" : "1"}).limit(3)
  </code></pre>
  
  <p>but it returns nothing</p>
  
  <p>p.s. there are a lot of objects with attribute maxDamage is 1</p>