prev( )


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, can be retrieved using the pageSize property, and navigating through pages is done with the prev() and next() functions.

If items are added or removed between calls to prev() the values returned by EventsQueryResult may change.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<EventsQueryResult>
Did this help?