title: How can I update mongodb document for adding a new item to array?
body: <p>I couldn't figure out insert to a sub array...</p>
  
  <ul>
  <li>_id </li>
  <li>MyArray</li>
  <li>--Item</li>
  <li>----ArrayItemId</li>
  <li>----Name</li>
  </ul>
  
  <p>I want to insert items to MyArray...</p>
  
  <p>How my update document should be?</p>
  
  <pre><code>MyCollection.Update( 
   new QueryDocument { { "_id", MyObject.Id } },
   new UpdateDocument { { "$set", new BsonDocument { { "MyArray", 
         new BsonArray { new BsonDocument {{ "ArrayItemId", myArrayField.Id }},
                         new BsonDocument {{ "Name", myArrayField.Name }} }}}}}, 
   UpdateFlags.None);
  </code></pre>