csvsource

Crates.iocsvsource
lib.rscsvsource
version0.7.0
sourcesrc
created_at2022-10-09 02:17:04.154827
updated_at2023-05-03 12:29:03.913713
descriptionConverts a CSV file to SQL Insert Statements.
homepage
repository
max_upload_size
id683827
size37,498,329
Hildeberto Mendonca (htmfilho)

documentation

https://www.hildeberto.com/csvsource/

README

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 --csv or -f followed by a csv file:

$ ./csvsource --csv data.csv

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

For Developers

Commit count: 0

cargo fmt