I try to get all users who has a mail in three different properties with in expression
$qb = $this->createQueryBuilder('i');
$qb->where(':email in (i.firstMail,i.secondtMail,i.thirdtMail)');
I got this error in getResult
[Syntax Error] line 0, col 61: Error: Expected Doctrine\\ORM\\Query\\Lexer::T_OPEN_PARENTHESIS, got 'i'