If you have a 1-n relationship setup and query the n-collection (holding ref to 1), then is it possible to WixDataQuery the 1-part too?
Example Collection layout:
Main: Date, Boolean, _id
Detail1 : SKU, Num, ref_toMain
Detail2 : SKU, Num, ref_toMain
Now, what I would like to do is this:
1)select Detail by SKU="12345"
2)and select ref_toMain.Boolean = true
Is this possible? I have "included" (.include "ref_toMain") in my queries, but can´t gt it working.