This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Limits the number of items the search returns.
The limit()
method defines the number of results a search operation returns in each page. Only one page of results is retrieved at a time. The next()
and prev()
methods of the WixDataResult
object are used to navigate the pages of a search result.
By default, limit
is set to 100
.
The maximum value that limit()
can accept is 1000
.
Number of items to return, which is also the pageSize
of the results object.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.