sql2dart 0.0.2
sql2dart: ^0.0.2 copied to clipboard
Generate dart type definitions from PostgreSQL database schema.
example/README.md
The sample output was generated for the auth schema of supabase with following command:
- From the project root directory, run:
dart bin/sql2dart.dart -c postgresql://postgres:postgres@localhost:54322/postgres -o example/sample_output -s auth
Note: make sure
supabase start
is running.