Returns the query cursors.
cursors
returns the query's next
and prev
cursors.
Returns an array of menus
items that match the query.
items
contains the current page of results retrieved by the query.
If no results match the query, items
is an empty array.
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 menus
to navigate the pages of a query result.
Returns the number of items in the current page of results.
length
returns just the number of items in the current page, not the total number of items that match the query.
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 menus
to navigate the pages of a query result.
Returns the requested page size.
pageSize
returns the page size set in limit()
in MenusQueryBuilder
.
Returns the MenusQueryBuilder
object used to get the current results.
Use query
to create and run a new query by chaining additional MenusQueryBuilder
functions to it. You can filter only on properties that haven't already been used in the previous MenusQueryBuilder
.
const hasNext = results.hasNext();
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.