It’s really depends on what and where you use these collections.
Maybe it’ll be better to run an after_query data hook in backend/data.js, so all the additional info will go through the dataset (and if the queries are independent, run the in parallel within Promise.all([query1.find(),query2.find()])
I’ve been trying to figure out the data-hooks and I can’t seem to find any examples or a complete how-to step-by-step I can copy from.
E.g. page code / backend code / set to repeater.
If I could see a complete example, I could likely just figure out the rest from there. Would you be able to help with something (very simple) I could use to just help upstand the steps? Then I could amend it to accommodate my needs after.
Let’s say you connect a ‘Members’ dataset to the repeater and you want (in addition to the Member public info) to show how many stores and products each member has (I’ll assume for the sake of the example it’s not the Wix Store and Products system collections, but it’s doable for those collections as well with some adjustments).