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

    インターフェイス MySQLQueryOptions

    正規化済みの Query から導出した、SQL builder 内部のオプションです。

    interface MySQLQueryOptions {
        conn?: PoolConnection | null;
        count?: boolean;
        fields?: string[];
        index?: string;
        limit?: number[];
        noCache?: boolean;
        order?: Record<string, number>[];
        single?: boolean;
        update?: Readonly<Record<string, DataValue>>;
        where?: Readonly<Record<string, DataValue>>;
    }
    インデックス
    conn?: PoolConnection | null

    選択されている mysql2 のトランザクション接続です。

    count?: boolean

    count 用の選択式をコンパイルします。

    fields?: string[]

    選択する論理フィールドまたは式です。

    index?: string

    任意のインデックスヒントです。

    limit?: number[]

    空、[count]、または [offset, count] です。

    noCache?: boolean

    クエリ結果のキャッシュを使用しません。

    order?: Record<string, number>[]

    正規化済みのソート式です。

    single?: boolean

    要求するデータ行を最大 1 行にします。

    update?: Readonly<Record<string, DataValue>>

    更新に使用する論理フィールドの値です。

    where?: Readonly<Record<string, DataValue>>

    論理的なクエリ条件です。