Skip to content

Commit

Permalink
minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Jul 4, 2023
1 parent 7e55057 commit ebcd68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guide/database.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ do
If you need to fetch only a single column, for example only the ID of a record, you need to help the compiler and type hint
the result, with an `Only` prefix. Here's an example of fetching only the IDs of a `project` table, and converting them to
`Id Project`
`Id Project`:
```haskell
allProjectUuids :: [Only UUID] <- sqlQuery "SELECT projects.id FROM projects" ()
Expand Down

0 comments on commit ebcd68d

Please sign in to comment.