1
0
mirror of synced 2025-01-09 18:47:10 +03:00

Merge pull request #1199 from kormik/patch-1

minor typo
This commit is contained in:
Marco Pivetta 2014-11-28 11:14:09 +01:00
commit 18fd892c85

View File

@ -278,7 +278,7 @@ With Nested Conditions in WHERE Clause:
.. code-block:: php
<?php
$query = $em->createQuery('SELECT u from ForumUser u WHERE (u.username = :name OR u.username = :name2) AND u.id = :id');
$query = $em->createQuery('SELECT u FROM ForumUser u WHERE (u.username = :name OR u.username = :name2) AND u.id = :id');
$query->setParameters(array(
'name' => 'Bob',
'name2' => 'Alice',