Skip to content

Instantly share code, notes, and snippets.

@ScullWM
Created March 3, 2012 18:08
Show Gist options
  • Save ScullWM/1967183 to your computer and use it in GitHub Desktop.
Save ScullWM/1967183 to your computer and use it in GitHub Desktop.
$this->f_reponse = Doctrine_Query::create()
->select('p.*, u.*')
->from('post p')
->leftJoin('p.user u')
->where('p.subject_id = ?', $this->f_sujet->getId())
->execute();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment