/** * Resets the query builder to an empty state. * * The query type and model is not reset. * * @return Jelly_Builder */ public function reset() { parent::reset(); $this->_set = $this->_columns = $this->_values = array(); $this->_result = NULL; // Re-register the model $this->_initialize(); return $this; }