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

    从规范化 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

    最多请求一行数据。

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

    更新使用的逻辑字段值。

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

    逻辑查询条件。