commit
8aa0cdd0b9
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ class QueryBuilder
|
|||
* // You can optionally programatically build and/or expressions
|
||||
* $qb = $em->createQueryBuilder();
|
||||
*
|
||||
* $or = $qb->expr()->orx();
|
||||
* $or = $qb->expr()->orX();
|
||||
* $or->add($qb->expr()->eq('u.id', 1));
|
||||
* $or->add($qb->expr()->eq('u.id', 2));
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue