title: Create array with query MongoDb
body: <p>I have this Collection</p>
  
  <pre><code>{
      "_id" : ObjectId("55555555ffffff000010200a"),  
      "name" : "foo"
  }
  
  {
      "_id" : ObjectId("55555555ffffff000010200e"),
      "name" : "bar"
  }
  
  {
      "_id" : ObjectId("55555555ffffff000010200f"),    
      "name" : "baz"
  }
  
  
  {
      "_id" : ObjectId("55555555ffffff000010200b"),
      "name" : "biz"
  }
  </code></pre>
  
  <p>and I want an array ids</p>
  
  <p>I did this</p>
  
  <pre><code>db.mycollection.find({}, {_id: 1})
  </code></pre>
  
  <p>and return</p>
  
  <pre><code>{
      "_id" : ObjectId("55555555ffffff000010200a")
  }
  
  {
      "_id" : ObjectId("55555555ffffff000010200e")
  }
  
  {
      "_id" : ObjectId("55555555ffffff000010200f")
  }
  
  {
      "_id" : ObjectId("55555555ffffff000010200b")
  }
  
  {
      "_id" : ObjectId("55555555ffffff000010200c")
  }
  
  {
      "_id" : ObjectId("55555555ffffff0000103111")
  }
  </code></pre>
  
  <p>Can I have an array?
      id['55555555ffffff0000103111','55555555ffffff0000103111','555555555ffffff0000103111','55555555ffffff0000103111']</p>