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

    MySQL Adapter 使用的规范化 Query 结构。

    interface MySQLQuery {
        cache: Cache | null;
        connection: PoolConnection | null;
        fields: readonly string[];
        index: string;
        limit: readonly number[];
        model: MySQLModel;
        order: readonly Readonly<Record<string, number>>[];
        updateData: UpdateData;
        where: Where;
    }

    层级 (查看层级一览)

    索引
    cache: Cache | null

    实际生效的 Model Cache(如果已配置)。

    connection: PoolConnection | null

    以下方法选择的事务连接:Query.conn()。

    fields: readonly string[]

    选中的逻辑字段或 Adapter 表达式。

    index: string

    Adapter 特有的索引提示。

    limit: readonly number[]

    空值、[count],或 [offset, count]。

    model: MySQLModel

    创建此 Query 的 Model。

    order: readonly Readonly<Record<string, number>>[]

    规范化后的排序表达式。

    updateData: UpdateData

    传给批量更新的逻辑值。

    where: Where

    逻辑查询条件。