$link = Db::connect(msConfig($serverInfo));
$sql = "insert into Table (field1,field2...) VALUES (value1,value2...)";
//使用query的话会报错:The active result for the query contains no fields.
$link->query($sql);
//所以执行更新或插入操作,应该使用execute
$link->execute($sql);