currentPage


currentPagenumber
Did this help?

items


itemsArray<Category>

Returns an array of categories 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 categories to navigate the pages of a query result.

JavaScript
const returnedItems = results.items;
Did this help?

length


lengthnumber
Did this help?

pageSize


pageSizenumber
Did this help?

query


Returns the CategoriesQueryBuilder object used to get the current results.

Use query to create and run a new query by chaining additional CategoriesQueryBuilder functions to it. You can filter only on properties that haven't already been used in the previous CategoriesQueryBuilder.

JavaScript
const originalQuery = results.query;
Did this help?

totalCount


totalCountnumber
Did this help?

totalPages


totalPagesnumber
Did this help?