cursors


cursorsCursors

Returns the query cursors.

cursors returns the query's next and prev cursors.

Get the query's cursors
JavaScript
Did this help?

items


itemsArray<TaxGroup>

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

JavaScript
Did this help?

length


lengthnumber

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. For the total number of items that match the query, see totalCount. 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 taxGroups to navigate the pages of a query result.

JavaScript
Did this help?

pageSize


pageSizenumber

Returns the requested page size.

pageSize returns the page size set in limit() in TaxGroupsQueryBuilder.

JavaScript
const requestedPageSize = results.pageSize;
Did this help?