db = new \mysqli('localhost', 'root', 'root001', 'test'); } public function query($sql) { return $this->db->query($sql); } }