Skip to content

How to implement CASE WHEN THEN ELSE END statement? #757

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

Closed
mayamoon opened this issue Mar 7, 2024 · 1 comment · Fixed by #761
Closed

How to implement CASE WHEN THEN ELSE END statement? #757

mayamoon opened this issue Mar 7, 2024 · 1 comment · Fixed by #761

Comments

@mayamoon
Copy link

mayamoon commented Mar 7, 2024

I using mybatis-dynamic-sql to write sql , after investigate the sourse code i can't find a way to implement
CASE
WHEN condition THEN value
WHEN condition THEN value
ELSE value
END

@jeffgbutler
Copy link
Member

Case expressions aren't supported currently. I will look at adding some basic support for them.

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 a pull request may close this issue.

2 participants