Interface QueryOptions<T>

Entity query 的选项

interface QueryOptions {
    columns?: (Dimension | Measure)[];
    filterString?: string;
    filters?: ISlicer[];
    force?: boolean | void;
    orderbys?: OrderBy[];
    paging?: {
        after?: string;
        before?: string;
        cursor?: string;
        last?: number;
        skip?: number;
        top?: number;
    };
    parameters?: EntityKey<T>;
    params?: string[];
    rows?: (Dimension | Measure)[];
    search?: string;
    selects?: Dimension[];
    statement?: string;
}

Type Parameters

  • T = any

Properties

columns?: (Dimension | Measure)[]
filterString?: string
filters?: ISlicer[]
force?: boolean | void
orderbys?: OrderBy[]
paging?: {
    after?: string;
    before?: string;
    cursor?: string;
    last?: number;
    skip?: number;
    top?: number;
}

Type declaration

  • Optional after?: string
  • Optional before?: string
  • Optional cursor?: string
  • Optional last?: number
  • Optional skip?: number
  • Optional top?: number
parameters?: EntityKey<T>
params?: string[]
rows?: (Dimension | Measure)[]
search?: string
selects?: Dimension[]

Deprecated

use rows and columns

statement?: string

Generated using TypeDoc