graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.Types.Source.Column

Documentation

data SourceColumnInfo b Source #

Instances

Instances details
Backend b => FromJSON (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Backend b => ToJSON (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Backend b => HasCodec (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Generic (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Associated Types

type Rep (SourceColumnInfo b) :: Type -> Type #

Backend b => Show (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Backend b => Eq (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Backend b => Ord (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Backend b => Hashable (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Backend b => ToSchema (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

type Rep (SourceColumnInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

data ColumnValueGenerationStrategy Source #

Instances

Instances details
FromJSON ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

ToJSON ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

HasCodec ColumnValueGenerationStrategy Source #

We're encoding the different strategies as tagged objects rather than just strings because it is anticipated that additional information may need to be added to each strategy in future. For example, the actual default value (a literal), or what type of unique identifier is being used (eg. a UUID). By using a tagged object, we ensure the addition of such information is not a breaking change to the shape of the JSON.

Instance details

Defined in Hasura.RQL.Types.Source.Column

Generic ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Associated Types

type Rep ColumnValueGenerationStrategy :: Type -> Type #

Show ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

NFData ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Eq ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Ord ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

Hashable ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

ToSchema ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

type Rep ColumnValueGenerationStrategy Source # 
Instance details

Defined in Hasura.RQL.Types.Source.Column

type Rep ColumnValueGenerationStrategy = D1 ('MetaData "ColumnValueGenerationStrategy" "Hasura.RQL.Types.Source.Column" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "AutoIncrement" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UniqueIdentifier" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DefaultValue" 'PrefixI 'False) (U1 :: Type -> Type)))