Safe Haskell | None |
---|---|
Language | Haskell2010 |
Postgres Instances Types
Defines a Backend
type class instance for Postgres.
Synopsis
- class (Representable (PgExtraTableMetadata pgKind), ToJSON (PgExtraTableMetadata pgKind), FromJSON (PgExtraTableMetadata pgKind)) => PostgresBackend (pgKind :: PostgresKind) where
- type PgExtraTableMetadata pgKind :: Type
Documentation
class (Representable (PgExtraTableMetadata pgKind), ToJSON (PgExtraTableMetadata pgKind), FromJSON (PgExtraTableMetadata pgKind)) => PostgresBackend (pgKind :: PostgresKind) Source #
This class is an implementation detail of Backend
.
Some types of Backend
differ across different Postgres "kinds". This
class alllows each "kind" to specify its own specific implementation. All
common code is directly part of the Backend
instance.
Note: Users shouldn't ever put this as a constraint. Use `Backend ('Postgres pgKind)` instead.
type PgExtraTableMetadata pgKind :: Type Source #