Export Data as CSV from JS

I want to trigger a SQL query from JS and download the response as CSV.

Hi @sagar1357! Welcome to the community! :sunglasses:

Here's the starter JS code to make this happen, although the logic to transform the returned data to be properly formatted might be challenging!

1 Like