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

增加通过主键查询非逻辑删方法 #12

Closed
wants to merge 1 commit into from

Conversation

DomKing
Copy link

@DomKing DomKing commented Aug 17, 2017

对于有逻辑删的数据库而言,如果通过主键查询,不能过滤掉逻辑删的数量,查询结果是不对的。
所以增加通过主键查询非逻辑删方法,同时增加了test用例

@itfsw
Copy link
Owner

itfsw commented Aug 31, 2017

感谢你的贡献, 因为之前觉得既然拿到了主键这种查询没有必要,但是实际使用中可能存在根据主键判断是否逻辑删除的情况,这种场景还是有用的,所以新版中增加了相关方法V1.0.18

@itfsw itfsw closed this Aug 31, 2017
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.

None yet

2 participants