Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Formatted code so lines fit on 80 cols.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-monnier committed Sep 28, 2016
1 parent f06ec5b commit 67742a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Database/Hedsql/Statements/Select.hs
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,10 @@ nestedJoins =
|> from join2
|> end
where
join1 = innerJoin "People" "Countries" $ "People" /. "countryId" /== "Countries" /. "countryId"
join2 = innerJoin join1 "Addresses" $ "People" /. "personId" /== "Addresses" /. "personId"
join1 = innerJoin "People" "Countries" cond1
cond1 = "People" /. "countryId" /== "Countries" /. "countryId"
join2 = innerJoin join1 "Addresses" cond2
cond2 = "People" /. "personId" /== "Addresses" /. "personId"

-- Sub-queries
--------------------
Expand Down

0 comments on commit 67742a9

Please sign in to comment.