hasql-optparse-applicative-0.4: "optparse-applicative" parsers for "hasql"
Safe HaskellNone
LanguageHaskell2010

Hasql.OptparseApplicative

Synopsis

Documentation

poolSettings :: (String -> String) -> Parser (IO Pool) Source #

Given a function, which updates the long names, produces a parser of the Hasql.Pool.acquire operation.

You can use this function to prefix the name or you can just specify id, if you don't want it changed.

connectionSettings :: (String -> String) -> Parser Settings Source #

Given a function, which updates the long names produces a parser of Hasql.Connection.Settings.

You can use this function to prefix the name or you can just specify id, if you don't want it changed.