DDC-798 - Clarify parameters for MEMBER OF expression
This commit is contained in:
parent
4f18aaaf6e
commit
e9617f1e50
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ EXISTS in WHERE clause with correlated Subquery
|
|||
Get all users who are members of $group.
|
||||
|
||||
[php]
|
||||
$query = $em->createQuery('SELECT u.id FROM CmsUser u WHERE :param MEMBER OF u.groups');
|
||||
$query = $em->createQuery('SELECT u.id FROM CmsUser u WHERE :groupId MEMBER OF u.groups');
|
||||
$query->setParameter(':groupId', $group);
|
||||
$ids = $query->getResult();
|
||||
|
||||
Get all users that have more than 1 phonenumber
|
||||
|
|
Loading…
Add table
Reference in a new issue