Fix code example of LeftOuterJoin and ?.
This commit is contained in:
parent
83afa43b23
commit
806fe763c9
@ -157,8 +157,8 @@ However, you may want your results to include people who don't have any blog pos
|
||||
|
||||
```haskell
|
||||
select $
|
||||
from $ \(p `LeftOuterJoin`` mb) -> do
|
||||
on (p ^. PersonId ==. mb ?. BlogPostAuthorId)
|
||||
from $ \(p `LeftOuterJoin` mb) -> do
|
||||
on (just (p ^. PersonId) ==. mb ?. BlogPostAuthorId)
|
||||
orderBy [asc (p ^. PersonName), asc (mb ?. BlogPostTitle)]
|
||||
return (p, mb)
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user