title: Updating an element in all documents in a MongoDB collection
body: <p>I am running the following query with the purpose of updating a single element in all the existing documents in the collection.  I am basically trying to clear their value to "0".</p>
  
  <p>Here is the code:</p>
  
  <pre><code>MongoCollection collection = db.GetCollection(DataAccessConfiguration.Settings.CollectionName);
  var query = Query.Exists("ElementName", true);
  var update = Update.Set("ElementName", "0");
  collection.Update(query, update);
  </code></pre>
  
  <p>It only updates a single document.</p>
  
  <p>How can I update <strong>all</strong> elements at once?</p>