When you execute a query with the find()
function, it returns a Promise that resolves to a LabelsQueryResult
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 labels.
Note: When no items match the query, the items array is empty.
To paginate your query results, use the LabelsQueryResult
pagination properties and functions.
Returns the LabelsQueryBuilder
object used to get the current results.
Use the query
property to create and run a new query
by chaining additional LabelsQueryBuilder
functions to it.
let resultQuery = results.query;