Creates a new instance and sets its values.
the number of items to skip.
the number of items to return.
true to return the total number of items.
The number of items to skip.
The number of items to return.
The flag to return the total number of items.
Gets the number of items to skip.
the minimum number of items to skip.
the number of items to skip.
Gets the number of items to return in a page.
the maximum number of items to return.
the number of items to return.
Creates a new PagingParams and sets it parameters from the specified map
a AnyValueMap or StringValueMap to initialize this PagingParams
a newly created PagingParams.
Creates a new PagingParams from a list of key-value pairs called tuples.
a list of values where odd elements are keys and the following even elements are values
a newly created PagingParams.
Converts specified value into PagingParams.
value to be converted
a newly created PagingParams.
Generated using TypeDoc
Data transfer object to pass paging parameters for queries.
The page is defined by two parameters:
skip
parameter defines number of items to skip.take
parameter sets how many items to return in a page.total
parameter tells to return total number of items in the query.Remember: not all implementations support the
total
parameter because its generation may lead to severe performance implications.Example
let filter = FilterParams.fromTuples("type", "Type1"); let paging = new PagingParams(0, 100); myDataClient.getDataByFilter(filter, paging, (err, page) => {...});