When you execute a query with the find()
function, it returns a Promise that resolves to a ExtendedFieldsQueryResult
object.
This object contains the items that match the query, information about the
query itself, and functions for paging through the query results.
Returns the items that match the query.
The current page of items retrieved by the query.
List of extended fields.
Note: When no items match the query, the items array is empty.
To paginate your query results, use the ExtendedFieldsQueryResult
pagination properties and functions.
let resultPageSize = results.pageSize; // 50