title: MongoDB query - join with javascript array
body: <p>I have a Users Collection that looks like the following</p>
  
  <pre><code>{
      {
          _id: ObjectId(...),
          services: {facebook: {id: 1}}
      },
      {
          _id: ObjectId(...),
          services: {facebook: {id: 2}}
      },
      ...
  }
  </code></pre>
  
  <p>Additionally, i have the following JavaScript array:</p>
  
  <pre><code>[
      {name: "Alice", id: 1},
      {name: "Bob", id: 3},
      ...
  ]
  </code></pre>
  
  <p>I want to find all users whose id is present in the array, but I could not find a way to "reach into" the JavaScript array.</p>