title: How to find intersection of array values pymongo
body: <p>There are 79 parameters in each experiment/document .
  There are 27 experiment/documents.</p>
  <pre><code>{
    _id: 0,
    experiment: 1,
    parameters: [
      {
        name: &quot;clock&quot;,
        value: 8,
        type: &quot;system&quot;
      },
      {
        name: &quot;B&quot;,
        value: 100000,
        type: &quot;puls&quot;
      },
      {
        name: &quot;campaign&quot;,
        value: &quot;October2019&quot;,
        type: &quot;navi&quot;
      }
    ]
  }
  </code></pre>
  <p>I would like to have all the experiment/ documents where-                    name : &quot;B&quot; &gt; value : 1000 and name : &quot;campaign&quot; = value : &quot;October2019&quot;</p>
  <p>The output should look like this: <a href="https://mongoplayground.net/p/UP39-Yxk61U" rel="nofollow noreferrer">https://mongoplayground.net/p/UP39-Yxk61U</a></p>