SyntaxFix
Write A Post
Hire A Developer
Questions
->where($qb->expr()->in('foo.bar', ':data')) ->setParameter('participants', $data);
Also works with:
->andWhere($qb->expr()->in('foo.bar', ':users')) ->setParameter('data', $data);