prev( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves the previous page of query results.

The prev() method retrieves the previous page of query results.

The page size is defined by the limit() method, can be retrieved using the pageSize property, and navigating through pages is done with the prev() and next() methods.

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

Note: The prev() method is not supported for single-item collections.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<WixDataResult>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?