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

ORM 性能优化:利用 buffers 来重构 dbBase 中 SQL 构造过程。 #8

Open
flycash opened this issue Jun 19, 2023 · 1 comment

Comments

@flycash
Copy link

flycash commented Jun 19, 2023

类似于 #5#7

在 dbBase 里面有很多类似的 SQL 构造过程。你需要做的就是:

  • 挑选一个 SQL 构造过程,重构为一个独立的方法
  • 为这个独立的方法添加单元测试,断言构造的 SQL
  • 使用 internal/buffers 来重构
  • 确保重构之后代码能够通过你加的单元测试。
@flycash
Copy link
Author

flycash commented Jun 19, 2023

每个方法一个合并请求。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant