Skip to content

Commit

Permalink
Fix typo upadtes -> updates in PersistUnique (#1415)
Browse files Browse the repository at this point in the history
  • Loading branch information
blx committed Aug 11, 2022
1 parent 5de059c commit 67cc56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistent/Database/Persist/Class/PersistUnique.hs
Expand Up @@ -150,7 +150,7 @@ class (PersistUniqueRead backend, PersistStoreWrite backend) =>
-- First, we try to explain 'upsert' using <#schema-persist-unique-1 schema-1> and <#dataset-persist-unique-1 dataset-1>.
--
-- > upsertSpj :: MonadIO m => [Update User] -> ReaderT SqlBackend m (Maybe (Entity User))
-- > upsertSpj updates = upsert (User "SPJ" 999) upadtes
-- > upsertSpj updates = upsert (User "SPJ" 999) updates
--
-- > mSpjEnt <- upsertSpj [UserAge +=. 15]
--
Expand Down

0 comments on commit 67cc56d

Please sign in to comment.