Export Report with info from database relationships

Hi there,

I have an app that shows Events (Events collection) that people (Users collection) can attend to.
To do that, users simply need to click on a submit button that would create a relationship between that user and the specific event so the app can show a list of all attendees.

I’m wondering if there is a way that I can export this attendees list (relationship info between users and events) to eighter Excel, CSV or PDF.

Thank you for your help!