ksuzu46 / mysqlinsert Goto Github PK
View Code? Open in Web Editor NEWA rust application which reads a file whose field is separated by non-alphanumeric value, creates a table, and stores values into a table in mysql server. It only needs a file that contains type names corresponding to the data fields. For example, if cars.txt has three fields "id, speed, dist", the type specifier file should only contain a line "int, int, int". Any non alphanumeric values can be optionally selected as a separator for fields, a terminator for lines.