Skip to content

Commit 6d81332

Browse files
committed
cosmetical fixup
1 parent 78cc739 commit 6d81332

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/Common.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ import Text.CaseConversion (convertCase, WordCase(..))
1717
import qualified Data.ByteString.Char8 as BS
1818

1919
mkFunctionName :: PGFunction -> String
20-
mkFunctionName (PGFunction _schema name _args _result)
21-
= convertCase Snake Camel . ("sql_" ++) $ name
20+
mkFunctionName = convertCase Snake Camel . ("sql_" ++) . pgfName
2221

2322
bindOptions :: PostgresBindOptions
2423
bindOptions = (def :: PostgresBindOptions) {

0 commit comments

Comments
 (0)