Reputation: 790
Is there a way to query all the events for a specific venue? I noticed that there is no such entity Venue - it is a structure inside the event object.
Assuming there isn't, what do you think about the following solution?
Thanks!
Upvotes: 8
Views: 608
Reputation: 21
As of right now there is not a way via pure SQL. It'll get pretty ugly having to track all the events, and there are no assurances you got every event. There may that one facebook user who invites his 30 best friends for a birthday party, though I presume that is not much a worry.
Upvotes: 1
Reputation: 399
Unfortunately you are right. The only way forward being to filter all the events by venue.
Upvotes: 2