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

分页查询有计划添加吗? #180

Open
goodking-bq opened this issue Dec 22, 2021 · 4 comments
Open

分页查询有计划添加吗? #180

goodking-bq opened this issue Dec 22, 2021 · 4 comments

Comments

@goodking-bq
Copy link

分页查询有计划添加吗?

@xxjwxc
Copy link
Owner

xxjwxc commented Dec 22, 2021

目前没有,有没什么好点的方案?

@goodking-bq
Copy link
Author

比如 添加两个方法 _BaseMgr
WithLimit(limit string) Option
WithOffset(offset string) Option

@xxjwxc
Copy link
Owner

xxjwxc commented Dec 22, 2021

这种直接用gorm就可以带入!不需要额外函数

@goodking-bq
Copy link
Author

恩 也是 。但是的确可能需要分页功能。对新手有好。

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

No branches or pull requests

2 participants