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

    MySQL Adapter 所需的最小 Model 接口。

    interface MySQLModel {
        ai: MySQLField | null;
        autoIncrementField: MySQLField | null;
        cache: Cache | null;
        fieldNamesMap: Readonly<Record<string, MySQLField | undefined>>;
        name: string;
        nameToColumn: Readonly<Record<string, string | undefined>>;
        primaryKeys: readonly MySQLField[];
        schema: readonly MySQLField[];
        convertColumnToName(value: DataRow): DataRow;
    }
    索引
    ai: MySQLField | null

    兼容性别名:autoIncrementField。

    autoIncrementField: MySQLField | null

    自增字段(如果已配置)。

    cache: Cache | null

    实际生效的 Model Cache。

    fieldNamesMap: Readonly<Record<string, MySQLField | undefined>>

    逻辑字段名到编译后 Field 的映射。

    name: string

    存储层表名。

    nameToColumn: Readonly<Record<string, string | undefined>>

    逻辑字段名到存储列的映射。

    primaryKeys: readonly MySQLField[]

    用于定位一行数据的字段。

    schema: readonly MySQLField[]

    完整的编译后 schema。