Retrieves the previous page of query results.
The prev()
function retrieves the previous page of query results.
The page size is defined by the limit()
function and can be retrieved using the pageSize
property. You can use the next()
and prev()
functions returned by plans
to navigate the pages of a query result.
If items are added or removed between calls to prev()
, the values returned may change.