| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Hasura.SQL.Types
Synopsis
- class ToSQL a where
- toSQLTxt :: ToSQL a => a -> Text
- data CollectableType a
- newtype ExtensionsSchema = ExtensionsSchema {}
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 CollectableType PGScalarTypeCollectableType PGColumnTypePGColumnType. 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.
Constructors
| CollectableTypeScalar !a | |
| CollectableTypeArray !a | 
Instances
newtype ExtensionsSchema Source #
The name of the schema in which the graphql-engine will install database extensions.
Constructors
| ExtensionsSchema | |
| Fields | |