Crates.io | csv-sql |
lib.rs | csv-sql |
version | 0.4.0 |
source | src |
created_at | 2023-08-14 11:49:12.368497 |
updated_at | 2023-08-19 14:26:34.392981 |
description | A simple CLI tool to generate SQL tables from CSV files |
homepage | |
repository | https://github.com/JakubStiburek/csv-sql |
max_upload_size | |
id | 944079 |
size | 25,457 |
csv-sql [FILE_PATHS]...
csv-sql --schema-only [FILE_PATHS]...
csv-sql --primary-key=smallint [FILE_PATHS]...
csv-sql --primary-key=integer [FILE_PATHS]...
csv-sql --primary-key=bigint [FILE_PATHS]...
csv-sql --merge [FILE_PATHS]...
csv-sql [FILE_PATHS]... > output.sql
csv-sql --help
Use just for easy development.
just -l
just dev ~/Dir/file.csv
just dev "--schema-only ~/Dir/file.csv ~/Dir/file2.csv ~/Dir/file3.csv"
just clear