Skip to content

Commit

Permalink
Update 0030-complex-join.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusWendorf authored Feb 14, 2024
1 parent 0387320 commit f2987a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/docs/examples/JOIN/0030-complex-join.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const complexJoin = `await db.selectFrom('person')
(join) => join
.onRef('pet.owner_id', '=', 'person.id')
.on('pet.name', '=', 'Doggo')
.on((eb) => eb.or([eb("person.age", ">", 18), eb("person.age", "<", 100)]))
)
.selectAll()
.execute()`
.execute()`

0 comments on commit f2987a4

Please sign in to comment.