Try this line. It was given in forum a while ago
wixData.query("Stores/Products").hasSome("collections.id", ["collection_ID"]).find()
Try this line. It was given in forum a while ago
wixData.query("Stores/Products").hasSome("collections.id", ["collection_ID"]).find()