Guest User

Untitled

a guest
Dec 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. $qb = $this->entityManager->createQueryBuilder()
  2. ->select('s, se')
  3. ->from('Dashboard\Entity\Section', 'se')
  4. ->innerJoin('se.word', 'w')
  5. ->innerJoin('se.location', 'l');
  6. $qb->add('where', $qb->expr()->andx(
  7. $qb->expr()->eq('l.ignored', $ignored),
  8. $qb->expr()->eq('l.id', $params['l_id'])
  9. ), true);
Add Comment
Please, Sign In to add comment