So I am trying to display a list of all users’ number of orders. The User data type has a linked data type of placed orders. For example:
User A has 0 orders
User B has 3 orders
User C has 2 orders
I want to display this as 0, 3, 2. The method I am trying is:
but that returns blank.
I tried doing this:
And that returns something but it repeats for every user’s order i.e. as per the example above:
[email protected], [email protected], [email protected], [email protected], [email protected]
Any idea how to get what I need?
Thanks