Joe*_*oco 5 php sql doctrine-orm
码
$qb->andWhere(
$qb->expr()->orx(
$qb->expr()->andx("p.value_a >= " . $values[0],"p.value_a <= " . $values[1]),
$qb->expr()->orx(
$qb->expr()->andx("p.venture_min_value_a >= " . $values[0],"p.venture_min_value_a <= " . $values[1]),
$qb->expr()->andx("p.venture_max_value_a >= " . $values[0],"p.venture_max_value_a <= " . $values[1])
)
));
Run Code Online (Sandbox Code Playgroud)
错误信息:
在此上下文中不允许表达"Doctrine\ORM\Query\Expr\Orx"类型.
题
orx - > andx - > orx
这是一个学说限制还是我的错?