1 unstable release
0.1.0 | Aug 14, 2022 |
---|
#339 in #tool
10KB
231 lines
txt2sql
txt-to-sql 2.0
Goal
Have an example of a objected oriented tool for migrate to RUST.
Txt2Sql tool
Txt2SQl is a library that can be used in a command line tool or a web page to process a text file and convert it into SQL sentences.
The tool will allow process of huge files that don't fit in memory reading the file only once.
In the future it can be add some new features (i.e. trying to detect de PK, but for this may be it will need a second read of the file).
Usage (command-line)
$ txt2sql file.txt
# Generates file-inserts.sql and file-create-table.sql
Usage (code)
License
Dependencies
~8–18MB
~274K SLoC