prisma-paginate
    Preparing search index...

    Interface IPagination

    interface IPagination {
        count: number;
        exceedCount: boolean;
        exceedTotalPages: boolean;
        hasNextPage: boolean;
        hasPrevPage: boolean;
        limit: number;
        page: number;
        totalPages: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    count: number

    Count how many rows on has on table/model with query filter

    exceedCount: boolean
    false
    
    exceedTotalPages: boolean
    false
    
    hasNextPage: boolean

    If has result on next page index

    hasPrevPage: boolean

    If has result on last page index

    limit: number

    Limit how much rows to return

    page: number

    Paginate starting from 1

    If enabled it overwrite 'pageIndex'

    1
    
    totalPages: number

    Total of pages based on pagination arguments