Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zendata
提交
b3b9ec8c
Z
zendata
项目概览
易企天创
/
zendata
9 个月 前同步成功
通知
17
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b3b9ec8c
编写于
5月 10, 2022
作者:
fantasy_cs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: Modify the usage about '--dsn'
上级
658fa66e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
2 deletion
+2
-2
res/en/usage.txt
res/en/usage.txt
+1
-1
res/zh/usage.txt
res/zh/usage.txt
+1
-1
未找到文件。
res/en/usage.txt
浏览文件 @
b3b9ec8c
...
...
@@ -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.
...
...
res/zh/usage.txt
浏览文件 @
b3b9ec8c
...
...
@@ -9,7 +9,7 @@ ZenData是一款通用的数据生成工具,您可以使用yaml文件来定义
-F --field 可通过该参数指定要输出的字段列表,用逗号分隔。 默认是所有的字段。
-t --table 输出格式为sql时,需通过该参数指定要插入数据的表名。
--d
ns 指定MySQL数据源,用于直接插入数据到MySQL
数据库表。
--d
sn 指定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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录