Go Headless

Changelog

SDK
Articles
Get Started
Work with the SDK
Set up a Client
Use the Wix MCP
What's New



next( )


Retrieves the next page of query results.

The next() function retrieves the next 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 marketingConsent to navigate the pages of a query result. If items are added or removed between calls to next(), the values returned by MarketingConsentQueryBuilder may change.

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

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

Did this help?