When you execute a data operation like find()
, distinct()
, run()
or queryReferences()
, it returns a Promise that resolves to a WixDataResult
object. This object contains the items that match the query, information about the query itself, and functions for paging through the query results.