We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8da22d commit c640906Copy full SHA for c640906
1 file changed
src/Database/PostgreSQL/Simple/Bind/Implementation.hs
@@ -188,19 +188,3 @@ mkFunctionE opt f@(PGFunction schema name args ret) = do
188
189
return $ FunD funcName [Clause funcArgs funcBody [ValD (VarP argsName) argsBody []]]
190
191
-
192
193
194
--- sqlGetVal :: forall x_acMJ y_acMK.
195
--- (PostgresType "bigint" ~ x_acMJ, ToField x_acMJ,
196
--- PostgresType "bigint" ~ y_acMK, FromField y_acMK)
197
--- => Connection -> Maybe x_acMJ -> IO y_acMK
198
---
199
--- sqlGetVal conn_acMM x_acML =
200
--- fmap unwrapRow
201
--- (query
202
--- conn_acMM
203
--- (Query (pack ((++) "select get_val(" ((++) (formatArguments args_acMN) ")")))) args_acMN)
204
--- where
205
--- args_acMN = filterArguments [OptionalArg "p_number" (Just x_acML)]
206
0 commit comments