1
0
mirror of synced 2025-01-31 20:41:44 +03:00

minor typo

This commit is contained in:
Tomas Kormanak 2014-11-28 08:40:00 +00:00
parent ee13405a13
commit 27e671378b

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',