| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasura.Backends.Postgres.Types.Column
Description
Postgres Types Column
Gets the Postgres type used to represent a column, defaulting to Text when unsure.
Synopsis
- unsafePGColumnToBackend :: ColumnType ('Postgres pgKind) -> PGScalarType
Documentation
unsafePGColumnToBackend :: ColumnType ('Postgres pgKind) -> PGScalarType Source #
Gets the representation type associated with a ColumnType. Avoid using this if possible.
Prefer parsePGScalarValue, parsePGScalarValues, or
mkTypedSessionVar.