diff --git a/docs/en/reference/query-builder.rst b/docs/en/reference/query-builder.rst index 9a93190a5..2c48f9dba 100644 --- a/docs/en/reference/query-builder.rst +++ b/docs/en/reference/query-builder.rst @@ -336,7 +336,8 @@ set of useful methods to help build expressions: add('select', new Expr\Select(array('u'))) ->add('from', new Expr\From('User', 'u')) ->add('where', $qb->expr()->orX( @@ -513,7 +514,9 @@ of DQL. It takes 3 parameters: ``$dqlPartName``, ``$dqlPart`` and add('select', 'u') ->add('from', 'User u') ->add('where', 'u.id = ?1') @@ -532,7 +535,9 @@ same query of example 6 written using add('select', new Expr\Select(array('u'))) ->add('from', new Expr\From('User', 'u')) ->add('where', new Expr\Comparison('u.id', '=', '?1'))