Interface CreateListMetaOptions<T>

interface CreateListMetaOptions<T extends ObjectLiteral> {
    limit?: number;
    needCountTotal?: boolean;
    offset?: number;
    query: SelectQueryBuilder<T>;
}

Type Parameters

  • T extends ObjectLiteral

Properties

limit?: number

Limit of items

needCountTotal?: boolean

If true, total count will be calculated by additional SELECT COUNT.

offset?: number

Offset of items

query: SelectQueryBuilder<T>

Typeorm query builder