graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.DataConnector.Schema.Column

Synopsis

Documentation

data Column Source #

A schematic representation which captures common attributes associated with a piece of data that is stored in a given backend.

These attributes ascribe meaningful semantics to the data that they are associated with.

cf. https://en.wikipedia.org/wiki/Column_(database) https://www.postgresql.org/docs/13/ddl-basics.html

XXX: Instead of an isNullable flag, should we instead add a Nullable data constructor to Type?

Constructors

Column 

Fields

Instances

Instances details
Eq Column Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Column

Methods

(==) :: Column -> Column -> Bool #

(/=) :: Column -> Column -> Bool #

Data Column Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Column

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Column -> c Column #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Column #

toConstr :: Column -> Constr #

dataTypeOf :: Column -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Column) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Column) #

gmapT :: (forall b. Data b => b -> b) -> Column -> Column #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Column -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Column -> r #

gmapQ :: (forall d. Data d => d -> u) -> Column -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Column -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Column -> m Column #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Column -> m Column #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Column -> m Column #

Ord Column Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Column

Show Column Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Column

Generic Column Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Column

Associated Types

type Rep Column :: Type -> Type #

Methods

from :: Column -> Rep Column x #

to :: Rep Column x -> Column #

type Rep Column Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Column

type Rep Column = D1 ('MetaData "Column" "Hasura.Backends.DataConnector.Schema.Column" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Column" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name) :*: S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Type)) :*: (S1 ('MetaSel ('Just "isNullable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))