createQueryBuilder('e'); $qb->where($qb->expr()->eq('e.processed', $qb->expr()->literal(false))); return $qb->getQuery()->getResult(); } }