title: MongoDB change order of array in document
body: <p>so here is my current data structure:</p>
  
  <pre><code>[parents] =&gt; Array (
  [0] =&gt; Array (
      [title] =&gt; Test 1
  )
  [1] =&gt; Array (
      [title] =&gt; Test 2
  )
  )
  </code></pre>
  
  <p>I want to add a new array to the BEGINNING of this, so array[0] would become array[1] (shown below)</p>
  
  <pre><code>    [parents] =&gt; Array (
  [0] =&gt; Array (
      [title] =&gt; Test 3
  )
  [1] =&gt; Array (
      [title] =&gt; Test 1
  )
  [2] =&gt; Array (
      [title] =&gt; Test 2
  )
  )
  </code></pre>
  
  <p>I need to update multiple documents at once, so I don't want to individually run an update command on each document within a loop. Any ideas how to tackle this?</p>