title: FIND_IN_SET in doctrine 2 with DoctrineExtensions
body: <p>here is my query </p>
  
  <pre><code> $sql = 'SELECT users.userId as userId
        FROM App\UserProjects up
        LEFT JOIN up.user users 
        WHERE up.project = :project AND FIND_IN_SET(:comp, up.company)';
   $query = $this-&gt;getEntityManager()-&gt;createQuery($sql);
   $query-&gt;setParameter('project', 3);
  $query-&gt;setParameter('comp', 4);
  $results = $query-&gt;getResult();
  </code></pre>
  
  <p>But this gives me the error </p>
  
  <blockquote>
    <p>[Syntax Error] line 0, col -1: Error: Expected =, &lt;, &lt;=, &lt;>, >, >=, !=, got end of string.</p>
  </blockquote>
  
  <p>What am i doing wrong?
  Is there a work around?
  and the field i am searching in has comma seperated values, if FIND_IN_SET is not working, is there any other way i can do the same query?</p>
  
  <p>and i am using this extension
  <a href="https://github.com/beberlei/DoctrineExtensions" rel="noreferrer">https://github.com/beberlei/DoctrineExtensions</a></p>