#multiple-references #queryReferenced #hasSome
Demonstrates
-
wix-data multiple references
-
wix-data.queryReferenced()
-
WixDataQuery.hasSome()
-
JSON
Links for this example -
View the “Live” example in a browser page
-
Open the Example template in the Wix Editor
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.