core/DB.php
public static function updateField(string $tbname, string $oldfield, string $newfield, array $options = [])
    {
        return self::engine()->updateField($tbname, $oldfield, $newfield, $options);
    }
public static function updateField(string $tbname, string $oldfield, string $newfield, array $options = [])
    {
        return self::engine()->updateField($tbname, $oldfield, $newfield, $options);
    }
更新字段
@param string $tbname
@param string $oldfield
@param string $newfield
@param array $options
@return int
@throws MysqlException