title: How can I remove elements in arrays that are in different objects with a single query in Mongodb?
body: <p>I want to check every object in the <code>pronunciations</code> array and check if the <code>likes</code> array in each object contains <code>remove_this</code>, then remove it from every <code>likes</code> array.</p>
  
  <pre><code>{
      "_id": "5a052785aa06c22429717bad",
      "word": "wordtest5",
      "__v": 0,
      "pronunciations": [
          {
              "pronunciation": "wordtest1",
              "_id": "5a052785aa06c22429717bae",
              "likes": [
                  "remove_this",
                  "5a0508cfcf4f6620786a3cb1"
              ],
              "rating": 1
          },
          {
              "pronunciation": "wordtest5",
              "_id": "5a0674c1053ae929db3a576c",
              "likes": [],
              "rating": 1
          },
          {
              "pronunciation": "testing5",
              "_id": "5a06770346be3d2ac6f31561",
              "likes": [
                  "remove_this",
                  "5a0508cfcf4f6620786a3cb1",
              ],
              "rating": 1
          }
      ]
  }
  </code></pre>
  
  <p>I want to remove all <code>remove_this</code> strings inside every <code>likes</code> array.</p>