on dev help sign in
types
commit79e6b1ca80b030414d8d97884543b471eca0fb31 authorEitan Chatav <eitan@EEM109LMBP-1.local> dateMon 2 Sep 2019, 10:41 (7 years ago) parentea86c4c
1 file changed+2−2
squeal-postgresql/src/Squeal/PostgreSQL/Definition.hs+2−2
squeal-postgresql/src/Squeal/PostgreSQL/Definition.hs+2−2
@@ -1158,8 +1158,8 @@ createOrReplaceFunction fun args ret fundef = UnsafeDefinition $
11581158 <+> "RETURNS" <+> renderSQL ret <+> renderSQL fundef <> ";"
11591159
11601160languageSql
1161− :: Query '[] '[] schemas args '[col ::: ty]
1162− -> FunctionDefinition schemas ('Fun arg ret)
1161+ :: Query '[] '[] schemas args '[col ::: ret]
1162+ -> FunctionDefinition schemas ('Fun args ret)
11631163languageSql qry = UnsafeFunctionDefinition $
11641164 "language sql as" <+> "$$" <+> renderSQL qry <+> "$$"
11651165