title: MongoDB Compass filter (query)
body: <p><a href="https://i.stack.imgur.com/8IjnF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8IjnF.png" alt="enter image description here"></a></p>
  
  <p>In mongoDB compass I am getting no result with the below filters. Not sure what I am doing wrong. </p>
  
  <ol>
  <li><code>{user: {uid: 'ttorone'}}</code>  </li>
  <li><code>{user: {_id: ObjectId("5b9fc9567a1f050026a8bbda")}}</code></li>
  </ol>
  
  <p>What I want is to filter out this document (where user-> uid is 'ttorone'). User is also an object here.</p>