Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $qb = $this->createQueryBuilder('self');
- $qb
- ->distinct('hotel')
- ->join('self.hotel', 'hotel')
- ->where('self.request = :id')
- ->setParameter('id',$requestId);
- return $qb->getQuery()->getResult();
Add Comment
Please, Sign In to add comment