Skip to content

Conversation

@Brayden
Copy link
Member

@Brayden Brayden commented Oct 13, 2024

Purpose

Support the ability to export data from a given SQL table

Tasks

  • Allow a table data export via JSON file format
  • Allow a table data export via CSV file format

Verify

JSON Export

curl
--location 'https://starbasedb.YOUR-ID-HERE.workers.dev/export/json/users' \
--header 'Authorization: Bearer ABC123'
--output output.json

CSV Export

curl
--location 'https://starbasedb.YOUR-ID-HERE.workers.dev/export/csv/users' \
--header 'Authorization: Bearer ABC123'
--output output.csv

Before

After

@Brayden Brayden merged commit 4ee57dd into main Oct 13, 2024
@Brayden Brayden deleted the bwilmoth/export-csv-json branch October 13, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants