Skip to content

Instantly share code, notes, and snippets.

@andreia
Created August 26, 2011 01:33
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save andreia/1172483 to your computer and use it in GitHub Desktop.
Doctrine: Avoiding circular references using the free() function
<?php
$qs = Doctrine_Query::create()
->from('MyTable1 m')
->leftJoin('m.MyTable2 p');
$res = $qs->execute();
$qs->free();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment