Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect description in documentation #3745

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(docs): update README.MD
lvillis authored and kevwan committed Nov 28, 2023
commit a05a6927068dbcc70312f65bdd72bb482bec3345
4 changes: 2 additions & 2 deletions tools/goctl/model/sql/README.MD
Original file line number Diff line number Diff line change
@@ -344,7 +344,7 @@ OPTIONS:

理论上是没任何问题,但是我们认为,对于model层的数据操作均是以整个结构体为单位,包括查询,我不建议只查询某部分字段(不反对),否则我们的缓存就没有意义了。

* 为什么不支持`findPageLimit`、`findAll`这么模式代码生层
* 为什么不支持`findPageLimit`、`findAll`这种模型代码生成

目前,我认为除了基本的CURD外,其他的代码均属于<i>业务型</i>代码,这个我觉得开发人员根据业务需要进行编写更好。

@@ -378,4 +378,4 @@ OPTIONS:
| longtext | string | sql.NullString |
| enum | string | sql.NullString |
| set | string | sql.NullString |
| json | string | sql.NullString |
| json | string | sql.NullString |