Thread overview
Need csv writer (std.csv only has csvReader)
Oct 12
John Xu
October 12

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

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

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