Documentation / @andrew_l/mongo-pagination / QueryPaginatorOptions
Interface: QueryPaginatorOptions ​
Properties ​
next? ​
optionalnext?:string|Buffer<ArrayBufferLike> |null
The token to start the pagination from, if available.
paginationFields? ​
optionalpaginationFields?:string[]
An optional list of fields used for building pagination query.
postQuery? ​
optionalpostQuery?: (this) =>void
A callback function executed after the query is performed.
Parameters ​
this ​
QueryPaginator
Returns ​
void
preQuery? ​
optionalpreQuery?: (this) =>void
A callback function executed before the query is performed.
Parameters ​
this ​
QueryPaginator
Returns ​
void