I want to do the following, lets say for a simple group chat application, we have models like
Message
- room: {'model':Room}
Room
- users: {'collection':User}
I want the following:
Given a user Bob, get all Messages in a room containing Bob.
What is the appropriate Waterline query for this?