public function Update($query) { //$query=str_replace('%pre%', $this->dbpre, $query); return $this->db->query($this->sql->Filter($query)); }