on dev help sign in
Update README.md
commitb9b341f475ff8bed21acc7431bab65bb04804049 authorEitan Chatav <eitan.chatav@gmail.com> dateThu 7 Sep 2017, 17:51 (9 years ago) parente039c07
1 file changed+1−1
README.md+1−1
README.md+1−1
@@ -122,7 +122,7 @@ getUsers = select
122122 (#u ! #id .== #e ! #user_id)) )
123123```
124124
125−Now that we've defined the SQL side of things, we'll need a Haskell type for users. We give the type `Generic` and `HasDatatypeInfo` instances so that we can decode the rows we receive when we run getUsers. Notice that the record fields of the `User` type match the column names of getUsers.
125+Now that we've defined the SQL side of things, we'll need a Haskell type for users. We give the type `Generic` and `HasDatatypeInfo` instances so that we can decode the rows we receive when we run getUsers. Notice that the record fields of the `User` type match the column names of `getUsers`.
126126
127127```haskell
128128data User = User { userName :: Text, userEmail :: Maybe Text }