Skip to content

Commit

Permalink
Add instance Default Updater (Field_ n a) ()
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Oct 4, 2024
1 parent c0470bd commit 602a595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Opaleye/Internal/Manipulation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ instance D.Default Updater (Field_ n a) (Field_ n a) where
instance D.Default Updater (Field_ n a) (Maybe (Field_ n a)) where
def = Updater Just

instance D.Default Updater (Field_ n a) () where
def = Updater (const ())

arrangeDeleteReturning :: U.Unpackspec columnsReturned ignored
-> T.Table columnsW columnsR
-> (columnsR -> Field SqlBool)
Expand Down

0 comments on commit 602a595

Please sign in to comment.