This is just really inefficient since it reads an entire collection to accomplish this
Some alternatives:
generate the records excel sheet ONCE, store it somewhere, and then downloads will refer to that sheet. Main issue is when should we update the stored excel sheet?
the user should be able to choose start and end dates for record downloading. Not only lets them narrow down, but also might save us some usage
This is just really inefficient since it reads an entire collection to accomplish this
Some alternatives: