This message was deleted.
# community-help
s
This message was deleted.
j
The answer to this would depend on how you’ll be searching through the data. I’m guessing you’ll be searching for attendee names, given an event ID?
Do you also search on event details across all events?
m
Generally we are searching by event names and details(description, speakers, location, etc) and filter out events that the user isn't invited to(no attendee record)
j
Would this be a good simplified version of a potential record:
Copy code
{
  "event_name": "xyz",
  "event_location": "abc",
  "event_starts_at": 123,
  "event_ends_at": 234,
  "attendee_user_ids": [
    6,
    7,
    8,
    9
  ]
}
m
Yes
j
Great, so yeah, you should be good to store events as top level records… especially if the only attendee-level query you’re doing is whether an attendee is part of an event or not
🎉 1
m
Awesome, thanks for the help
👍 1