Skip to content

UpdateByExample Support Improvement #121

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

Merged
merged 3 commits into from
Jul 29, 2019

Conversation

jeffgbutler
Copy link
Member

This PR adds support for an improved syntax of UpdateByExample as created by MyBatis Generator. With this change, it is more clear where to code the "where clause" and where to specify the record to be used as a supplier of values.

This PR also adds static "allRows()" methods to the MyBatis3 helper interfaces to enable more expressive coding for "countAllRows", "selectAllRows", etc.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a6e9d06 on jeffgbutler:update-by-example-improvement into 9b8c5eb on mybatis:master.

@jeffgbutler jeffgbutler merged commit 19f1dd0 into mybatis:master Jul 29, 2019
@jeffgbutler jeffgbutler deleted the update-by-example-improvement branch July 29, 2019 21:54
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

Successfully merging this pull request may close these issues.

2 participants