Toshihiko
    正在准备搜索索引...

    MySQL Adapter 所需的最小编译后 Field 接口。

    interface MySQLField {
        allowNull: boolean;
        autoIncrement: boolean;
        column: string;
        name: string;
        primaryKey: boolean;
        type?: { needQuotes?: boolean };
        restore(value: DataValue): QueryValues;
    }
    索引
    allowNull: boolean

    字段是否接受 null。

    autoIncrement: boolean

    MySQL 是否会在 insert 时生成此字段。

    column: string

    带引号的存储列源名称。

    name: string

    逻辑 schema 字段名。

    primaryKey: boolean

    字段是否参与数据行定位。

    type?: { needQuotes?: boolean }

    SQL builder 使用的最小引号元数据。