title: Doctrine : get result when array of ids in array
body: <p>i'm developing a website and i'm facing an issue.
  My problem is the following one : i have an entity (day) with tags (Tag is also an entity) and i have a list of tags. I want to get the days which have at least all my list of tags in their tags.</p>
  
  <p>Here is an example :</p>
  
  <p>my list of tags : "tag1", "tag2".</p>
  
  <p>my days :</p>
  
  <ul>
  <li>day1 has tags "tag1", "tag2", "tag3"</li>
  <li>day2 has tag "tag1"</li>
  </ul>
  
  <p>My request should return day1 because all the tags of my list are in the tags of day1.
  But i have day1 and day2 in my results :'(</p>
  
  <p>Here is my code :</p>
  
  <pre><code>$qb = $this-&gt;createQueryBuilder('d')
              -&gt;leftJoin('d.tags', 't')
              -&gt;where('t IN (:tags)')
              -&gt;setParameter('tags', $tags);
  
  
      return $qb-&gt;getQuery()-&gt;getResult();
  </code></pre>
  
  <p>Can somebody help me ?</p>
  
  <p>Thanks.</p>