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

enhance: add ORM tag to the entity result of command gen dao to make entity assignment more faster #3454

Merged
merged 6 commits into from
Apr 7, 2024

Conversation

wln32
Copy link
Member

@wln32 wln32 commented Apr 4, 2024

目前cli工具生成的entity目录下的结构体,没有带orm的tag

会导致赋值的时候,走模糊匹配分支比较慢

希望cli工具生成的时候能够在entity目录下的结构体字段带上orm tag

@wln32 wln32 requested review from gqcn and oldme-git April 6, 2024 04:46
@gqcn gqcn changed the title improve: When using gen dao, add ORM tag to the entity to make assign… enhance: add ORM tag to the entity result of command gen dao to make entity assignment more faster Apr 7, 2024
@wln32 wln32 requested review from oldme-git and removed request for oldme-git April 7, 2024 02:45
@gqcn gqcn merged commit b040654 into gogf:master Apr 7, 2024
23 checks passed
@wln32 wln32 deleted the Improve/cli-gendao branch April 8, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants