Guest User

Untitled

a guest
Jan 24th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 73.63 KB | None | 0 0
  1. $qb = $em->createQueryBuilder()
  2.          ->select('i.indIndicador', 'i.indRowid', 'i.indResponsaveldr', 'i.indAtivosn', 'io.objRowid', 'io.objObjetivo')
  3.          ->from('MapIndicadores', 'i')
  4.          ->innerJoin('i.indObjetivodr', 'io')
  5.          ->groupBy('io.objObjetivo'); /* SÓ FUNCIONA MYSQL */       
  6.          
  7.          $qb->getQuery()->getSQL();
  8.          
  9.          echo "<pre>";
  10.          print_r($qb);
  11. #########################################################################################
  12.  
Add Comment
Please, Sign In to add comment