title: Quarkus Panache MongoDB: Delete only matching data from Array
body: <p>Is it possible to delete only filtered elements from an array, using panache with Quarkus?</p>
  <pre><code>{
      &quot;id&quot;: &quot;1234567&quot;,
      &quot;data&quot;: [
          {
              &quot;type&quot;: &quot;Type1&quot;,
              &quot;value&quot;: &quot;Value1&quot;
          },
          {
              &quot;type&quot;: &quot;Type2&quot;,
              &quot;value&quot;: &quot;Value2&quot;
          },
      ]
  }
  </code></pre>
  <p>I want delete all elements with <code>type</code> equal to <code>Type2</code>. I have tried with: <code>delete(&quot;data.type&quot;,&quot;Type2&quot;)</code>, but it delete the entire document from the db</p>