CLI
table2sql
Converts given table file to SQL insert statements and prints it.
Usage:
1 |
|
Options:
Name | Type | Description | Default |
---|---|---|---|
--output-table |
text | Name of table to use in SQL insert statement. | required |
--delimiter |
text | Delimiter of CSV file. | , |
--has-types-row |
boolean | If file contains row with types as row 1 (second row in file). Available types: int, float, str, sql, null. | False |
--output-file |
text | Name of file to write SQL insert to. | required |
--help |
boolean | Show this message and exit. | False |