1
0
mirror of synced 2025-01-30 03:51:43 +03:00

Fix DDC-1039

This commit is contained in:
Benjamin Eberlei 2011-02-26 11:53:43 +01:00
parent 0252368af2
commit e94d15ec11

View File

@ -279,7 +279,7 @@ With Nested Conditions in WHERE Clause:
$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',
':name' => 'Alice',
':name2' => 'Alice',
':id' => 321,
));
$users = $query->getResult(); // array of ForumUser objects