public function delete() { $condition = array($this->where, $this->parameters); $this->where[0] = "$this->delimitedColumn = ?"; $this->parameters[0] = $this->active; $return = parent::delete(); list($this->where, $this->parameters) = $condition; return $return; }
public function delete() { $builder = $this->sqlBuilder; $this->sqlBuilder = clone $this->sqlBuilder; $this->where($this->column, $this->active); $return = parent::delete(); $this->sqlBuilder = $builder; return $return; }