We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e86e0 commit 2ec3ba7Copy full SHA for 2ec3ba7
IHP/ModelSupport.hs
@@ -444,7 +444,7 @@ sqlQueryScalarOrNothing theQuery theParameters = do
444
pure case result of
445
[] -> Nothing
446
[PG.Only result] -> Just result
447
- _ -> error "sqlQueryScalar: Expected a scalar result value or nothing"
+ _ -> error "sqlQueryScalarOrNothing: Expected a scalar result value or an empty result set"
448
{-# INLINABLE sqlQueryScalarOrNothing #-}
449
450
-- | Executes the given block with a database transaction
0 commit comments