Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 874 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 874 Bytes

CSVSource

CSVSource is a command line tool written in Rust to convert a CSV file to SQL statements. It has special features like grouping insert statements in transaction chunks and inserting multiple rows with a single insert statement.

Usage

learn how to use CSVSource with the --help argument:

$ ./csvsource --help

The simplest approach is to pass the argument --source or -f followed by a csv file:

$ ./csvsource --source data.csv

It generates the data.sql file containing the SQL statements. For more options, read the documentation.

For Developers