We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78cc739 commit 6d81332Copy full SHA for 6d81332
1 file changed
examples/Common.hs
@@ -17,8 +17,7 @@ import Text.CaseConversion (convertCase, WordCase(..))
17
import qualified Data.ByteString.Char8 as BS
18
19
mkFunctionName :: PGFunction -> String
20
-mkFunctionName (PGFunction _schema name _args _result)
21
- = convertCase Snake Camel . ("sql_" ++) $ name
+mkFunctionName = convertCase Snake Camel . ("sql_" ++) . pgfName
22
23
bindOptions :: PostgresBindOptions
24
bindOptions = (def :: PostgresBindOptions) {
0 commit comments