@@ -736,10 +736,10 @@ instance {-# OVERLAPPABLE #-}
736UPDATE statements
736UPDATE statements
737-----------------------------------------}
737-----------------------------------------}
739−set :: g x -> (Maybe :.: g) x
739+set :: Expression params tables x -> (Maybe :.: Expression params tables) x
740set = Comp . Just
740set = Comp . Just
742−same :: (Maybe :.: g) x
742+same :: (Maybe :.: Expression params tables) x
743same = Comp Nothing
743same = Comp Nothing
@@ -754,7 +754,7 @@ update (Alias table) columns where' = UnsafeStatement $ mconcat
754 , " SET "
754 , " SET "
755 , ByteString.intercalate ", " . catMaybes . hcollapse $
755 , ByteString.intercalate ", " . catMaybes . hcollapse $
756 hmap (K . renderSet) columns
756 hmap (K . renderSet) columns
757− , " WHERE ", renderExpression where'
757+ , " WHERE ", renderExpression where', ";"
759 renderSet
759 renderSet
760 :: Aliased (Maybe :.: Expression params tables) column
760 :: Aliased (Maybe :.: Expression params tables) column