Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class ToSQL a where
- toSQL :: a -> Builder
- toSQLTxt :: ToSQL a => a -> Text
- data CollectableType a
- newtype ExtensionsSchema = ExtensionsSchema {
- _unExtensionsSchema :: Text
Documentation
Instances
data CollectableType a Source #
The type of all Postgres types (i.e. scalars and arrays). This type is parameterized so that
we can have both
and CollectableType
PGScalarType
, for
when we care about the distinction made by CollectableType
PGColumnType
PGColumnType
. If we ever change
PGColumnType
to handle arrays, not just scalars, then the parameterization can
go away.
TODO (from master): This is incorrect modeling, as PGScalarType
will capture anything (under PGUnknown
).
This should be fixed when support for all types is merged.
Instances
newtype ExtensionsSchema Source #
The name of the schema in which the graphql-engine will install database extensions.
ExtensionsSchema | |
|