Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $qb = $this->entityManager->createQueryBuilder()
- ->select('s, se')
- ->from('Dashboard\Entity\Section', 'se')
- ->innerJoin('se.word', 'w')
- ->innerJoin('se.location', 'l');
- $qb->add('where', $qb->expr()->andx(
- $qb->expr()->eq('l.ignored', $ignored),
- $qb->expr()->eq('l.id', $params['l_id'])
- ), true);
Add Comment
Please, Sign In to add comment