Skip to content

Commit

Permalink
Update 0030-complex-join.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusWendorf committed Feb 14, 2024
1 parent 209f049 commit ba36880
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions site/docs/examples/JOIN/0030-complex-join.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ You can provide a function as the second argument to get a join
builder for creating more complex joins. The join builder has a
bunch of `on*` methods for building the `on` clause of the join.
There's basically an equivalent for every `where` method
(`on`, `onRef` etc.). You can do all the same things with the
`on` method that you can with the corresponding `where` method.
(`on`, `onRef` etc.).

You can do all the same things with the
`on` method that you can with the corresponding `where` method (like [OR expressions for example](https://kysely.dev/docs/examples/WHERE/or-where)).
See the `where` method documentation for more examples.

import {
Expand All @@ -35,4 +37,4 @@ For example, check out these sections:
- [leftJoin method](https://kysely-org.github.io/kysely-apidoc/interfaces/SelectQueryBuilder.html#leftJoin)
- [rightJoin method](https://kysely-org.github.io/kysely-apidoc/interfaces/SelectQueryBuilder.html#rightJoin)
- [fullJoin method](https://kysely-org.github.io/kysely-apidoc/interfaces/SelectQueryBuilder.html#fullJoin)
:::
:::

0 comments on commit ba36880

Please sign in to comment.