elong musk
elong musk

Reputation: 9

how to export mysql's data to browser with saving memory in golang web application

sometimes maybe data is huge in mysql,so hope to save memory to export data to browser in go web application,I guess application/octet-stream is a good way but don't how to do it. so how to select data from mysql while at the same time export data to the browser?

I tried csv ,but it's first select all data from mysql to memory then export to the front end,thus would cause out of memory,hope get help.

Upvotes: 0

Views: 90

Answers (0)

Related Questions