Interface PaginationArgs

interface PaginationArgs {
    exceedCount?: boolean;
    exceedTotalPages?: boolean;
    limit: number;
    page?: number;
    pageIndex?: number;
}

Hierarchy

Properties

exceedCount?: boolean

See

ExceedCount

Default

false
exceedTotalPages?: boolean

Default

false

See

ExceedTotalPages

limit: number

Limit how much rows to return

page?: number

Paginate starting from 1

If enabled it overwrite 'pageIndex'

See

PaginationArgs.pageIndex

Default

1
pageIndex?: number

Paginate like array index staring from 0

See

PaginationArgs.page

Default

0