Bonjour,

je suis débutant sur Symfony2 et son ami Doctrine2
je n'arrive pas a débogué cette requête, une idée?
[Syntax Error] line 0, col 116: Error: Expected Literal, got 'JOIN'
ca doit etre un truc tout con mais je trouve pas

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
		$qb = $this->em->createQueryBuilder();
		$qb->select('sv, s')
		->from('table1', 'sv')
		->leftJoin('table2', 'esx')
		->innerJoin('table3', 's')
		->where('sv.machin= ?1');