When you execute a query with the find()
function, it returns a Promise that resolves to a BookingsQueryResult
object.
This object contains the items that match the query, information about the
query itself, and functions for paging through the query results.