title: TYPO3 $query->in('valOne,valTwo,valThree', $arrayTwo)
body: <p>I have a query in my repository which gets all product by categories and contentTypes.
  I am looking for a query like this:</p>
  
  <pre><code> $query = $this-&gt;createQuery();
      $constraint = $query-&gt;in('category', $categories);
  
      if (!empty($contentType)) {
  
          $results = $query-&gt;matching(
              $query-&gt;logicalAnd(
                  $constraint, $query-&gt;in('contentType', $contentType)
              )
          )
          -&gt;setLimit((int)$limit)
          -&gt;setOffset((int)$offset)
          -&gt;execute()
          -&gt;toArray();
  </code></pre>
  
  <p>It works well if 'containType' contains just a single id as string, e.g '261'.
  But if it is a string with multiple id's it looks like '261,284,291' and the query does not work longer.</p>
  
  <p>I hope you got all information. Let me know if not :)</p>