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 may change.

Note: The prev() function is not supported for Single Item Collections.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<WixDataQueryResult>
Was this helpful?
Yes
No