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

Add Support for CASE Expressions #761

Merged
merged 19 commits into from
Mar 15, 2024

Conversation

jeffgbutler
Copy link
Member

This PR adds support for both simple and searched case expressions. The Java and Kotlin DSL are updated to support CASE expressions in an idiomatic manner for this library.

This PR also adds CAST as a built in function as it is common to use CAST with CASE expressions.

Resolves #757

@jeffgbutler jeffgbutler added this to the 1.5.1 milestone Mar 15, 2024
@coveralls
Copy link

coveralls commented Mar 15, 2024

Coverage Status

coverage: 100.0%. remained the same
when pulling f1a3e00 on jeffgbutler:case-expression
into 5d5b9b6 on mybatis:master.

@jeffgbutler jeffgbutler merged commit f450687 into mybatis:master Mar 15, 2024
5 of 6 checks passed
@jeffgbutler jeffgbutler deleted the case-expression branch March 15, 2024 20:29
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.

How to implement CASE WHEN THEN ELSE END statement?
2 participants