Toshihiko
    検索インデックスを準備しています...

    インターフェイス MySQLModel

    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[]

    1 行を特定するために使用するフィールドです。

    schema: readonly MySQLField[]

    コンパイル済みの完全な schema です。