When you execute a reference query with the queryReferenced()
function, it returns a Promise that resolves to a WixDataQueryReferencedResult
object. This object contains the items that match the reference query and
functions for paging through the query results.
Note: The WixDataQueryReferencedResult
object's properties and functions are not supported for Single Item Collections.