Fix inner join example (#50)
commit2ba99eaca89a36d1616ed76f8edbe3f9ea1b2c1e
authortomjaguarpaw <tom-github.com@jaguarpaw.co.uk>
dateFri 18 Jun 2021, 20:56 (5 years ago)
parent19ee619
docs/concepts/queries.rst+1−1
@@ -194,7 +194,7 @@ and this query can be written in Rel8 as::
194194
195195 authorForBlogPost :: BlogPost Expr -> Query (Author Expr)
196196 authorForBlogPost blogPost =
197− filter ((blogPostAuthorId blogPost ==.) authorId author) =<<
197+ filter ((blogPostAuthorId blogPost ==.) . authorId) =<<
198198 each authorSchema
199199
200200 While this is a little more code over all, in our experience this style