提交 b3b9ec8c 编写于 作者: fantasy_cs's avatar fantasy_cs

feat: Modify the usage about '--dsn'

上级 658fa66e
......@@ -10,7 +10,7 @@ Parameters:
-F --field This parameter can be used to specify the fields, separated by commas. The default is all fields.
-t --table If the output format is sql, using it to specify the table name to insert data to.
--dsn Specify MySQL data source connection string, used to insert data to table directly.
--dsn Specify MySQL\SqlServer\Oracle data source connection string, used to insert data to table directly.
--clear Remove data in MySQL table before insert.
-T --trim Remove the prefix and postfix of every field when outputting data or decode data to json string.
-H --human Output a readable format, print the field name, and use the tab key to split.
......
......@@ -9,7 +9,7 @@ ZenData是一款通用的数据生成工具,您可以使用yaml文件来定义
-F --field 可通过该参数指定要输出的字段列表,用逗号分隔。 默认是所有的字段。
-t --table 输出格式为sql时,需通过该参数指定要插入数据的表名。
--dns 指定MySQL数据源,用于直接插入数据到MySQL数据库表。
--dsn 指定MySQL\SqlServer\Oracle 数据源,用于直接插入数据到数据库表。
--clear 插入数据前,删除已有数据。
-T --trim 输出的字段去除前后缀,通常用在生成SQL格式输出或解析测试数据时。
-H --human 输出可读格式,打印字段名,并使用tab键进行分割。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册