Commit ee3bf044 authored by jwage's avatar jwage

fixes #674

parent 99d309fe
......@@ -193,6 +193,17 @@ class Doctrine_Query extends Doctrine_Query_Abstract implements Countable, Seria
*/
public function reset()
{
$this->_dqlParts = array('from' => array(),
'select' => array(),
'forUpdate' => false,
'set' => array(),
'join' => array(),
'where' => array(),
'groupby' => array(),
'having' => array(),
'orderby' => array(),
'limit' => array(),
'offset' => array());
$this->_pendingJoinConditions = array();
$this->_pendingSubqueries = array();
$this->_pendingFields = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment