title: Doctrine 2.0 Orx not allowed
body: <p><strong>Code</strong></p>
  
  <pre><code>$qb-&gt;andWhere(
     $qb-&gt;expr()-&gt;orx(
          $qb-&gt;expr()-&gt;andx("p.value_a &gt;= " . $values[0],"p.value_a &lt;= " . $values[1]),
          $qb-&gt;expr()-&gt;orx(
               $qb-&gt;expr()-&gt;andx("p.venture_min_value_a &gt;= " . $values[0],"p.venture_min_value_a &lt;= " . $values[1]),
               $qb-&gt;expr()-&gt;andx("p.venture_max_value_a &gt;= " . $values[0],"p.venture_max_value_a &lt;= " . $values[1])
                          )
      ));
  </code></pre>
  
  <p><strong>Error message:</strong></p>
  
  <blockquote>
    <p>Expression of type 'Doctrine\ORM\Query\Expr\Orx' not allowed in this
    context.</p>
  </blockquote>
  
  <p><strong>Question</strong></p>
  
  <blockquote>
    <p>orx -> andx -> orx</p>
  </blockquote>
  
  <p>Is this a doctrine limitation or is it my fault?</p>