public function getResult($query) { $records = $this->db->query($query); return Result_data::instantiate($records); }