make export file download when we run queue:work command and csv file is generated

Hi! i want to make my csv file download whenever i run queue:work command and also store the path of that csv file into the database so that next time user donot need to run queue and he can simple download file from server storage. please provide the full code AND ALSO can somebody explain to me how can we make each row of table export independently via same builtin Export functionality
2 Replies
Dennis Koch
Dennis Koch8mo ago
„Please provide full code“ Nobody will do your work for you 😅 Auto download would require some custom JS. Storing the path in the db might be possible if there is an event or hook. Not sure but you could PR an event if there isn’t one. No idea what you mean with that „independent export“ like a file for every row?!
samran2000
samran2000OP8mo ago
I have written all the code. The code is generating the right csv file. i want to download it whenever i run queue:work command
Want results from more Discord servers?
Add your server