Any friend can help me with a csvWriter? The std.csv only has a csvReader.
I want to dump database from sqlite to mysql.
If I do it manually, I need handle double quote("), \n, ',' specifically
Thread overview | |||||
---|---|---|---|---|---|
|
October 12, 2023 Need csv writer (std.csv only has csvReader) | ||||
---|---|---|---|---|
| ||||
Any friend can help me with a csvWriter? The std.csv only has a csvReader. I want to dump database from sqlite to mysql. If I do it manually, I need handle double quote("), \n, ',' specifically |
October 13, 2023 Re: Need csv writer (std.csv only has csvReader) | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Xu | On Thursday, 12 October 2023 at 23:18:23 UTC, John Xu wrote: >Any friend can help me with a csvWriter? The std.csv only has a csvReader. I want to dump database from sqlite to mysql. If I do it manually, I need handle double quote("), \n, ',' specifically Have you looked at https://code.dlang.org/packages/mir-ion ? |
October 13, 2023 Re: Need csv writer (std.csv only has csvReader) | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Xu | On Thursday, 12 October 2023 at 23:18:23 UTC, John Xu wrote: >Any friend can help me with a csvWriter? The std.csv only has a csvReader. I want to dump database from sqlite to mysql. If I do it manually, I need handle double quote("), \n, ',' specifically Also, if tsv is acceptable, I tried this previously https://code.dlang.org/packages/tsv-utils And it can convert csv to tsv |