public function query($sql,$batch=false){
$data=$batch?$this->data:array($this->data);
# $this->data=array();
//透過預處理方式執行SQL
## $stmt=$this->db->prepare($gt;prepare($); foreach($data as $v){ if($stmt->execute($v)===false){# o預處理作業失敗");
}
}
## return $#mt;