$queryBuilder->expr() code example
Example: doctrine where
// $qb instanceof QueryBuilder
$qb->select('u')
->from('User', 'u')
->where('u.id = :id')
->setParameter('id', 1);
// $qb instanceof QueryBuilder
$qb->select('u')
->from('User', 'u')
->where('u.id = :id')
->setParameter('id', 1);