wix-data multiple references
Links for this example
About this example
This example illustrates two different techniques for performing a query on multiple-references. Tables are populated using the results of the queries. As a bonus, you can inspect the JSON that was returned from the queries.
The method using queryReferenced() is simpler to set up and slightly more efficient, but only allows one referring property to be referenced. The hasSome() query method is slightly more complicated to set up, but allows multiple referring properties to be referenced.