Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
fix: (database) table name in inner join (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiukky authored and RomainLanz committed Dec 18, 2019
1 parent de38583 commit 95b651a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 07-Database/02-Query-Builder.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ await Database
----
await Database
.table('users')
.innerJoin('accounts', 'user.id', 'accounts.user_id')
.innerJoin('accounts', 'users.id', 'accounts.user_id')
----

You can also pass a callback to construct the join:
Expand Down

0 comments on commit 95b651a

Please sign in to comment.