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

Hasura.RQL.Types.Relationships.Local

Documentation

data RelDef a Source #

Constructors

RelDef 

Instances

Instances details
FromJSON a => FromJSON (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

ToJSON a => ToJSON (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

(HasCodec a, Typeable a) => HasCodec (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

HasCodec a => HasObjectCodec (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

type Rep (RelDef a) :: Type -> Type #

Methods

from :: RelDef a -> Rep (RelDef a) x #

to :: Rep (RelDef a) x -> RelDef a #

Show a => Show (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

showsPrec :: Int -> RelDef a -> ShowS #

show :: RelDef a -> String #

showList :: [RelDef a] -> ShowS #

Eq a => Eq (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

(==) :: RelDef a -> RelDef a -> Bool #

(/=) :: RelDef a -> RelDef a -> Bool #

ToJSON a => ToAesonPairs (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toAesonPairs :: KeyValue v => RelDef a -> [v] Source #

type Rep (RelDef a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelDef a) = D1 ('MetaData "RelDef" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelDef" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelName) :*: (S1 ('MetaSel ('Just "_rdUsing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "_rdComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

rdUsing :: forall a a. Lens (RelDef a) (RelDef a) a a Source #

rdName :: forall a. Lens' (RelDef a) RelName Source #

rdComment :: forall a. Lens' (RelDef a) (Maybe Text) Source #

data RelManualTableConfig (b :: BackendType) Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelManualTableConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualTableConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualTableConfig b) = D1 ('MetaData "RelManualTableConfig" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelManualTableConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "rmtTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (TableName b)) :*: S1 ('MetaSel ('Just "rmtCommon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (RelManualCommon b))))

data RelManualNativeQueryConfig (b :: BackendType) Source #

Instances

Instances details
Backend b => HasCodec (RelManualNativeQueryConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelManualNativeQueryConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualNativeQueryConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualNativeQueryConfig b) = D1 ('MetaData "RelManualNativeQueryConfig" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelManualNativeQueryConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "rmnNativeQueryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NativeQueryName) :*: S1 ('MetaSel ('Just "rmnCommon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (RelManualCommon b))))

data RelManualCommon (b :: BackendType) Source #

Instances

Instances details
Backend b => HasObjectCodec (RelManualCommon b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelManualCommon b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualCommon b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualCommon b) = D1 ('MetaData "RelManualCommon" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelManualCommon" 'PrefixI 'True) (S1 ('MetaSel ('Just "rmColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap (Column b) (Column b))) :*: S1 ('MetaSel ('Just "rmInsertOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertOrder))))

data RelUsing (b :: BackendType) a Source #

Instances

Instances details
(FromJSON a, Backend b) => FromJSON (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

(Backend b, ToJSON a) => ToJSON (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

(Backend b, HasCodec a, Typeable a) => HasCodec (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

type Rep (RelUsing b a) :: Type -> Type #

Methods

from :: RelUsing b a -> Rep (RelUsing b a) x #

to :: Rep (RelUsing b a) x -> RelUsing b a #

(Backend b, Show a) => Show (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

showsPrec :: Int -> RelUsing b a -> ShowS #

show :: RelUsing b a -> String #

showList :: [RelUsing b a] -> ShowS #

(Backend b, Eq a) => Eq (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

(==) :: RelUsing b a -> RelUsing b a -> Bool #

(/=) :: RelUsing b a -> RelUsing b a -> Bool #

type Rep (RelUsing b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelUsing b a) = D1 ('MetaData "RelUsing" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RUFKeyOn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)) :+: C1 ('MetaCons "RUManual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (RelManualTableConfig b))))

data ArrRelUsingFKeyOn (b :: BackendType) Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

Generic (ArrRelUsingFKeyOn b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (ArrRelUsingFKeyOn b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (ArrRelUsingFKeyOn b) = D1 ('MetaData "ArrRelUsingFKeyOn" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ArrRelUsingFKeyOn" 'PrefixI 'True) (S1 ('MetaSel ('Just "arufTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (TableName b)) :*: S1 ('MetaSel ('Just "arufColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty (Column b)))))

data WithTable b a Source #

Constructors

WithTable 

Fields

Instances

Instances details
(FromJSON a, Backend b) => FromJSON (WithTable b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

(ToAesonPairs a, Backend b) => ToJSON (WithTable b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

(Backend b, Show a) => Show (WithTable b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

showsPrec :: Int -> WithTable b a -> ShowS #

show :: WithTable b a -> String #

showList :: [WithTable b a] -> ShowS #

(Backend b, Eq a) => Eq (WithTable b a) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

(==) :: WithTable b a -> WithTable b a -> Bool #

(/=) :: WithTable b a -> WithTable b a -> Bool #

data ObjRelUsingChoice b Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

Generic (ObjRelUsingChoice b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (ObjRelUsingChoice b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (ObjRelUsingChoice b) = D1 ('MetaData "ObjRelUsingChoice" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SameTable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty (Column b)))) :+: C1 ('MetaCons "RemoteTable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (TableName b)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty (Column b)))))

data RelTarget b Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelTarget b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

Methods

from :: RelTarget b -> Rep (RelTarget b) x #

to :: Rep (RelTarget b) x -> RelTarget b #

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

Defined in Hasura.RQL.Types.Relationships.Local

Backend b => NFData (RelTarget b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

rnf :: RelTarget b -> () #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

(==) :: RelTarget b -> RelTarget b -> Bool #

(/=) :: RelTarget b -> RelTarget b -> Bool #

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelTarget b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelTarget b) = D1 ('MetaData "RelTarget" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelTargetTable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (TableName b))) :+: C1 ('MetaCons "RelTargetNativeQuery" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NativeQueryName)))

data RelInfo (b :: BackendType) Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

Methods

from :: RelInfo b -> Rep (RelInfo b) x #

to :: Rep (RelInfo b) x -> RelInfo b #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

showsPrec :: Int -> RelInfo b -> ShowS #

show :: RelInfo b -> String #

showList :: [RelInfo b] -> ShowS #

Backend b => NFData (RelInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

rnf :: RelInfo b -> () #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

(==) :: RelInfo b -> RelInfo b -> Bool #

(/=) :: RelInfo b -> RelInfo b -> Bool #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

compare :: RelInfo b -> RelInfo b -> Ordering #

(<) :: RelInfo b -> RelInfo b -> Bool #

(<=) :: RelInfo b -> RelInfo b -> Bool #

(>) :: RelInfo b -> RelInfo b -> Bool #

(>=) :: RelInfo b -> RelInfo b -> Bool #

max :: RelInfo b -> RelInfo b -> RelInfo b #

min :: RelInfo b -> RelInfo b -> RelInfo b #

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

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

data Nullable Source #

Constructors

Nullable 
NotNullable 

Instances

Instances details
FromJSON Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

ToJSON Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Generic Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

type Rep Nullable :: Type -> Type #

Methods

from :: Nullable -> Rep Nullable x #

to :: Rep Nullable x -> Nullable #

Show Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

NFData Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

rnf :: Nullable -> () #

Eq Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Hashable Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep Nullable = D1 ('MetaData "Nullable" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Nullable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NotNullable" 'PrefixI 'False) (U1 :: Type -> Type))