djcaliOriginal post
Rank 3: Container
Hello,
I have a collection "events" which has a relationship with a collection "staff".
Is there a way to query all the events for a certain staff member?
Something like:
Query.equal("events.staff.id" : "abc123")
Thanks!
Summary
The user wants to know how to query all events associated with a specific staff member in a nested attribute. The solution is to use the Query.equal method with the nested attribute.