Skip to content

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
@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