Safe Haskell | None |
---|---|
Language | GHC2021 |
Napkin.Types.BackendRuntime
Documentation
type CredentialsPath = FilePath #
data family DbBackendOptions b #
Instances
class RunBackendConn b where #
Methods
runBackendConn :: LogEnv -> DbBackendOptions b -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn b -> IO a) -> IO a #
Instances
RunBackendConn BigQuery # | |
Defined in Napkin.Run.BigQuery Methods runBackendConn :: LogEnv -> DbBackendOptions BigQuery -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn BigQuery -> IO a) -> IO a # | |
RunBackendConn MsSql # | |
Defined in Napkin.Run.MsSql Methods runBackendConn :: LogEnv -> DbBackendOptions MsSql -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn MsSql -> IO a) -> IO a # | |
RunBackendConn Postgres # | |
Defined in Napkin.Run.Postgres Methods runBackendConn :: LogEnv -> DbBackendOptions Postgres -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn Postgres -> IO a) -> IO a # | |
RunBackendConn Redshift # | |
Defined in Napkin.Run.Redshift Methods runBackendConn :: LogEnv -> DbBackendOptions Redshift -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn Redshift -> IO a) -> IO a # | |
RunBackendConn Sqlite # | |
Defined in Napkin.Run.Sqlite Methods runBackendConn :: LogEnv -> DbBackendOptions Sqlite -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn Sqlite -> IO a) -> IO a # |