Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
Instances
Bounded DbBackend # | |
Enum DbBackend # | |
Defined in Napkin.Backends.Types succ :: DbBackend -> DbBackend # pred :: DbBackend -> DbBackend # fromEnum :: DbBackend -> Int # enumFrom :: DbBackend -> [DbBackend] # enumFromThen :: DbBackend -> DbBackend -> [DbBackend] # enumFromTo :: DbBackend -> DbBackend -> [DbBackend] # enumFromThenTo :: DbBackend -> DbBackend -> DbBackend -> [DbBackend] # | |
Eq DbBackend # | |
Read DbBackend # | |
Show DbBackend # | |
ToJSON DbBackend # | |
Defined in Napkin.Spec.Yaml.Types | |
FromJSON DbBackend # | |
parseDbBackend :: String -> Maybe DbBackend #
type DbBackendApi b = (ParseSQL b, RenderSql Query b) #
data DbBackendApiWrapper #
forall b.DbBackendApi b => DbBackendApiWrapper b |
withDbBackendApi :: DbBackendApiWrapper -> (forall a. DbBackendApi a => a -> b) -> b #
withDbBackend :: DbBackend -> (forall a. DbBackendApi a => a -> b) -> b #
class ToDbBackend b where #
Instances
ToDbBackend Sqlite # | |
Defined in Napkin.Backends.Types | |
ToDbBackend Redshift # | |
Defined in Napkin.Backends.Types | |
ToDbBackend Postgres # | |
Defined in Napkin.Backends.Types | |
ToDbBackend BigQuery # | |
Defined in Napkin.Backends.Types |