prisma-paginate
Preparing search index...
Pagination
Class Pagination
Hierarchy (
View Summary
)
Pagination
PaginationResult
Index
Constructors
constructor
Properties
count
exceed
Count
exceed
Total
Pages
limit
page
Accessors
has
Next
Page
has
Prev
Page
total
Pages
Methods
[custom]
toJSON
extract
Count
initial
Page
offset
Constructors
constructor
new
Pagination
(
limit
?:
number
,
page
?:
number
,
count
?:
number
,
exceedCount
?:
boolean
,
exceedTotalPages
?:
boolean
,
)
:
Pagination
Parameters
limit
:
number
= NaN
page
:
number
= 1
count
:
number
= NaN
exceedCount
:
boolean
= false
exceedTotalPages
:
boolean
= false
Returns
Pagination
Properties
count
count
:
number
= NaN
Readonly
exceed
Count
exceedCount
:
boolean
= false
Readonly
exceed
Total
Pages
exceedTotalPages
:
boolean
= false
limit
limit
:
number
= NaN
page
page
:
number
= 1
Accessors
has
Next
Page
get
hasNextPage
()
:
boolean
Returns
boolean
has
Prev
Page
get
hasPrevPage
()
:
boolean
Returns
boolean
total
Pages
get
totalPages
()
:
number
Returns
number
Methods
[custom]
"[custom]"
()
:
Omit
<
Pagination
,
"toJSON"
>
Returns
Omit
<
Pagination
,
"toJSON"
>
toJSON
toJSON
()
:
Omit
<
Pagination
,
"toJSON"
>
Returns
Omit
<
Pagination
,
"toJSON"
>
Static
extract
Count
extractCount
(
count
:
any
)
:
number
Parameters
count
:
any
Returns
number
Static
initial
Page
initialPage
(
page
:
PageArgs
)
:
number
Parameters
page
:
PageArgs
Returns
number
Static
offset
offset
(
limit
:
number
,
page
:
PageArgs
)
:
number
Parameters
limit
:
number
page
:
PageArgs
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
count
exceed
Count
exceed
Total
Pages
limit
page
Accessors
has
Next
Page
has
Prev
Page
total
Pages
Methods
[custom]
toJSON
extract
Count
initial
Page
offset
prisma-paginate
Loading...