Fix error in QueryBuilder example
This commit is contained in:
parent
3d1956d260
commit
819e5896bf
@ -134,7 +134,8 @@ class QueryBuilder
|
|||||||
* This producer method is intended for convenient inline usage. Example:
|
* This producer method is intended for convenient inline usage. Example:
|
||||||
*
|
*
|
||||||
* <code>
|
* <code>
|
||||||
* $qb = $em->createQueryBuilder()
|
* $qb = $em->createQueryBuilder();
|
||||||
|
* $qb
|
||||||
* ->select('u')
|
* ->select('u')
|
||||||
* ->from('User', 'u')
|
* ->from('User', 'u')
|
||||||
* ->where($qb->expr()->eq('u.id', 1));
|
* ->where($qb->expr()->eq('u.id', 1));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user