Optionalfilter?: FilterQuery<T>Specifies the filter query
Specifies the maximum number of records the query will return
Specifies the page number (1-based)
Optionalpopulate?: PopulateOptions<T>[]Allows to populate referenced documents using a collection
Optionalselect?: SelectQuery<T>[]Specifies the fields to select
Optionalsort?: string | Record<string, string | number>Sets the sort order
Options for Paginate Query.