public function execute() { $query = 'REPLACE INTO ' . $this->table . ' SET ' . $this->get_values(); _db::query($query, $this->parameters); $id = _db::insert_id(); compiler::break_cache($this->table); cache::break_cache($this->table); return $id; }
public function execute() { $query = 'REPLACE INTO ' . $this->table . ' SET ' . $this->get_values(); _db::query($query, $this->parameters); $id = _db::insert_id(); compiler::break_cache($this->table); cache::break_cache($this->table); return $id; }