· Web App Developer

Query and query exclusion questions

I have a collection (Challenges) that is queried on the home page and displayed in a listview.
User collection has a list of references (challenges) for challenges that the user is involved in.

I am confused with the logic as to how this should work. So i have 2 questions:

1) How do I exclude any challenges on the homepage listview that are in the list stored on the user?
2) When I try to query the challenge collection to ONLY get the challenges stored on the user, the path to the list on the user is confusing and the logic isn't making sense.

TIA

11 replies