This is pretty easy when it’s not a lot of data. You just do a query and use papaparse. It seems like this strategy starts to fall apart when you’re querying several thousands of rows.
Is there a better strategy? I’ve seen some apps will have you hit “download” and they’ll send you the file (or a zip) as an email attachment (in a transactional/auto-generated email).
Has anyone done this? Did you use a lambda function or something? How do you not shit out and run out of memory?