Skip to content

Add Alternative Join Construction Methods #132

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 2 commits into from
Aug 20, 2019

Conversation

jeffgbutler
Copy link
Member

Added a few methods to QueryExpressionDSL to allow building joins with a single method. This allows us to remove the weird CompletableQuery interface and makes the forthcoming Kotlin DSL easier to implement.

With this addition, joins can be coded in a single method, rather than the current method chaining technique:

.join(SomeTable, on(a, equalTo(b)))

This does not alter or remove the existing method chaining technique.

Added a few methods to QueryExpressionDSL to allow building joins with a
single method. This allows us to remove the weird CompletableQuery
interface and makes the forthcoming Kotlin DSL easier to implement.

With this addition, joins can be coded in a single method, rather than
the current method chaining technique:

```java
.join(SomeTable, on(a, equalTo(b)))
```

This does not alter or remove the existing method chaining technique.
@jeffgbutler jeffgbutler added this to the 1.1.3 milestone Aug 20, 2019
@jeffgbutler jeffgbutler merged commit baabdb0 into mybatis:master Aug 20, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0d0599a on jeffgbutler:master into d1e02d9 on mybatis:master.

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.

2 participants