isNull doesn't exist :).
This commit is contained in:
parent
e915930b15
commit
fb36a603f8
@ -721,7 +721,7 @@ deleteCount = rawEsqueleto DELETE
|
||||
-- @
|
||||
-- update $ \p -> do
|
||||
-- set p [ PersonAge =. just (val thisYear) -. p ^. PersonBorn ]
|
||||
-- where_ $ isNull (p ^. PersonAge)
|
||||
-- where_ $ isNothing (p ^. PersonAge)
|
||||
-- @
|
||||
update :: ( MonadResource m
|
||||
, MonadSqlPersist m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user