title: How to write Mongo query to find sub document with condition
body: <p>I have a document in a collection like this, I need to find the record with form_Id:1 and Function_Id:2, how to write the mongo query.</p>
  
  <pre><code>"Form_Id" : 1,
  "Function" : [{
    "Function_Id" : 1,
    "Role" : [{
        "Role_Id" : 1,
        "UserId" : ["Admin", "001"]
      }]
  }, {
    "Function_Id" : 2,
    "Role" : [{
        "Role_Id" : 2,
        "UserId" : ["Admin", "005"]
      }]
  }]
  </code></pre>