Skip to content

Support UNION generation for kotlin #187

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
white-ws opened this issue Apr 6, 2020 · 1 comment · Fixed by #222
Closed

Support UNION generation for kotlin #187

white-ws opened this issue Apr 6, 2020 · 1 comment · Fixed by #222
Milestone

Comments

@white-ws
Copy link

white-ws commented Apr 6, 2020

Thank you for a great library.

I tried to create a union query using Kotlin extension methods, but seems like union() method from QueryExpressionWhereBuilder isn't supported at the moment. Is there any workaround to do this ?

@jeffgbutler
Copy link
Member

I'm glad you are liking MyBatis Dynamic SQL!

You are correct that union support is missing right now. I've been thinking about how to implement this - what the syntax should be. I don't have a strong feeling about that yet. I will probably post some alternatives and ask for feedback.

In the meantime, if you have a suggestion as to what the syntax should be I would love to see it.

@jeffgbutler jeffgbutler added this to the 1.1.5 milestone Jul 27, 2020
jeffgbutler added a commit that referenced this issue Jul 28, 2020
Add support for union queries in Kotlin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants