-
从`mysqldump`转储文件创建JSONL格式
资源介绍
dump_to_jsonl
从mysqldump转储文件生成JSONL。
安装
% go get github.com/abetomo/dump_to_jsonl
用法
Usage of dump_to_jsonl:
-file string
dump file
-outdir string
output directory
例子
一个创建
% dump_to_jsonl -file ./test/fixtures/one_create.sql
{"category_id":1,"created_at":"2020-09-09 10:02:35","description":"description1,'A':\"A\"","id":1,"name":"name1","rate":1.1}
{"category_id":2,"created_at":