From 7f2972f41bcbbef28d32285711ad13938333dcae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=B0=8F=E5=86=9B?= <346944475@qq.com> Date: Fri, 22 Nov 2019 13:41:30 +0800 Subject: [PATCH] out sql to readme --- README.md | 1 + README_zh_cn.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 6b49837..b3cb460 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ out_dir : "." # out dir singular_table : false # Table name plural (big Camel-Case):gorm.SingularTable simple : false #simple output +is_out_sql : false # Whether to output sql is_json_tag : true # Whether to mark JSON or not is_foreign_key : true # Whether to mark foreign key or not [mysql_info] diff --git a/README_zh_cn.md b/README_zh_cn.md index 48a932b..e7583ff 100644 --- a/README_zh_cn.md +++ b/README_zh_cn.md @@ -15,6 +15,7 @@ out_dir : "." # 输出目录 singular_table : false # 表名复数,是否大驼峰构建 参考:gorm.SingularTable simple : false #简单输出 +is_out_sql : false # 是否输出 sql 原信息 is_json_tag : false #是否打json标记 is_foreign_key : true #是否导出外键关联 mysql_info :