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

Hasura.Backends.DataConnector.IR.Relationships

Documentation

newtype TableRelationships Source #

Instances

Instances details
Eq TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Data TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Methods

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

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

toConstr :: TableRelationships -> Constr #

dataTypeOf :: TableRelationships -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Show TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Generic TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Associated Types

type Rep TableRelationships :: Type -> Type #

Semigroup TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Monoid TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

ToJSON TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

type Rep TableRelationships Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

data Relationship Source #

Instances

Instances details
Eq Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Data Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Methods

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

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

toConstr :: Relationship -> Constr #

dataTypeOf :: Relationship -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Show Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Generic Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Associated Types

type Rep Relationship :: Type -> Type #

ToJSON Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Methods

toJSON :: Relationship -> Value

toEncoding :: Relationship -> Encoding

toJSONList :: [Relationship] -> Value

toEncodingList :: [Relationship] -> Encoding

From Relationship Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

From Relationship Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

type Rep Relationship Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

type Rep Relationship = D1 ('MetaData "Relationship" "Hasura.Backends.DataConnector.IR.Relationships" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Relationship" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rTargetTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name) :*: (S1 ('MetaSel ('Just "_rRelationshipType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelationshipType) :*: S1 ('MetaSel ('Just "_rColumnMapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap SourceColumnName TargetColumnName)))))

data RelationshipType Source #

Instances

Instances details
Eq RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Data RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Methods

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

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

toConstr :: RelationshipType -> Constr #

dataTypeOf :: RelationshipType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Show RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Generic RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

Associated Types

type Rep RelationshipType :: Type -> Type #

ToJSON RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

From RelationshipType RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

From RelationshipType RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

type Rep RelationshipType Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Relationships

type Rep RelationshipType = D1 ('MetaData "RelationshipType" "Hasura.Backends.DataConnector.IR.Relationships" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ObjectRelationship" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ArrayRelationship" 'PrefixI 'False) (U1 :: Type -> Type))