Update value for all objects in collection Meteor
<p>I have a meteor program that I am working on and I have a collection for Teachers. </p>

<p>I can update their pay with the following snippet </p>

<pre><code>MyTeacherCollection.update {_id: teacherId}, $set:
  payRate: newPayrate
</code></pre>

<p>But that is only one teacher at a time, I was wondering how if there is an easy way to apply a 5% raise to all the teacher 's salary in my collection. </p>