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

Hasura.RQL.DDL.Relationship

Synopsis

Documentation

newtype CreateArrRel b Source #

Constructors

CreateArrRel 

Instances

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

Defined in Hasura.RQL.DDL.Relationship

newtype CreateObjRel b Source #

Constructors

CreateObjRel 

Instances

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

Defined in Hasura.RQL.DDL.Relationship

nativeQueryRelationshipSetup :: forall b m. (QErrM m, Backend b) => SourceName -> NativeQueryName -> RelType -> RelDef (RelManualNativeQueryConfig b) -> m (RelInfo b, Seq SchemaDependency) Source #

set up a relationship from a Native Query onto another data source

data DropRel b Source #

Instances

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

Defined in Hasura.RQL.DDL.Relationship

data SetRelComment b Source #

Instances

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

Defined in Hasura.RQL.DDL.Relationship

Generic (SetRelComment b) Source # 
Instance details

Defined in Hasura.RQL.DDL.Relationship

Associated Types

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

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

Defined in Hasura.RQL.DDL.Relationship

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

Defined in Hasura.RQL.DDL.Relationship

type Rep (SetRelComment b) Source # 
Instance details

Defined in Hasura.RQL.DDL.Relationship

type Rep (SetRelComment b) = D1 ('MetaData "SetRelComment" "Hasura.RQL.DDL.Relationship" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SetRelComment" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceName) :*: S1 ('MetaSel ('Just "arTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (TableName b))) :*: (S1 ('MetaSel ('Just "arRelationship") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelName) :*: S1 ('MetaSel ('Just "arComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))