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

where 条件尽量避免手写 sql #2

Closed
wving5 opened this issue May 15, 2019 · 4 comments
Closed

where 条件尽量避免手写 sql #2

wving5 opened this issue May 15, 2019 · 4 comments
Labels
Enhancement New feature or request

Comments

@wving5
Copy link
Owner

wving5 commented May 15, 2019

make it more ORM style

@wving5 wving5 added the Enhancement New feature or request label May 15, 2019
@wving5
Copy link
Owner Author

wving5 commented May 15, 2019

Refer: https://github.com/junhaiyang/LKDBSearchHelper
类似这种 + 链式调用

@wving5
Copy link
Owner Author

wving5 commented May 23, 2019

失踪人口回归……

Refactor: apply method chaining for SQLConditionBuilder
See: 36cfd7f

@wving5 wving5 added the Review label May 23, 2019
@wving5
Copy link
Owner Author

wving5 commented May 23, 2019

TODO:

  • 现在 where 条件是链式语法了,然鹅 select/delete/from/orderBy/offset/limit 还是无限 [[[]]] ,两种风格混在一起就非常丑 @ 7e44761

  • LKDBSearchHelper 多余的部分,该重构的重构,该删的删,至少处理一下…… @ 7e44761

  • 更新 ReadMe wving5/LKDBSearchHelper@0be95bb

@wving5
Copy link
Owner Author

wving5 commented May 25, 2019

SQL Builder 具备相对独立性,不再在这里讨论。 移至 https://github.com/wving5/LKDBSearchHelper

@wving5 wving5 closed this as completed May 25, 2019
@wving5 wving5 removed the Review label May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant