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

Hasura.RQL.Types.Relationships.Local

Documentation

data RelDef a Source #

Constructors

RelDef 

Fields

Instances

Instances details
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 #

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 #

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 #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (RelDef a)

parseJSONList :: Value -> Parser [RelDef a]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: RelDef a -> Value

toEncoding :: RelDef a -> Encoding

toJSONList :: [RelDef a] -> Value

toEncodingList :: [RelDef a] -> Encoding

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

unchanged :: Accesses -> RelDef a -> RelDef a -> Bool Source #

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 RelManualConfig (b :: BackendType) Source #

Constructors

RelManualConfig 

Fields

Instances

Instances details
Backend b => Eq (RelManualConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

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

Defined in Hasura.RQL.Types.Relationships.Local

Generic (RelManualConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Associated Types

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

Backend b => FromJSON (RelManualConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (RelManualConfig b)

parseJSONList :: Value -> Parser [RelManualConfig b]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: RelManualConfig b -> Value

toEncoding :: RelManualConfig b -> Encoding

toJSONList :: [RelManualConfig b] -> Value

toEncodingList :: [RelManualConfig b] -> Encoding

Backend b => Cacheable (RelManualConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualConfig b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

type Rep (RelManualConfig b) = D1 ('MetaData "RelManualConfig" "Hasura.RQL.Types.Relationships.Local" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "RelManualConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "rmTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (TableName b)) :*: (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 #

Constructors

RUFKeyOn a 
RUManual (RelManualConfig b) 

Instances

Instances details
(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 #

(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 #

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 #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (RelUsing b a)

parseJSONList :: Value -> Parser [RelUsing b a]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: RelUsing b a -> Value

toEncoding :: RelUsing b a -> Encoding

toJSONList :: [RelUsing b a] -> Value

toEncodingList :: [RelUsing b a] -> Encoding

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

unchanged :: Accesses -> RelUsing b a -> RelUsing b a -> Bool Source #

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 (RelManualConfig b))))

data ArrRelUsingFKeyOn (b :: BackendType) Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

Backend b => Show (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 => FromJSON (ArrRelUsingFKeyOn b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (ArrRelUsingFKeyOn b)

parseJSONList :: Value -> Parser [ArrRelUsingFKeyOn b]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: ArrRelUsingFKeyOn b -> Value

toEncoding :: ArrRelUsingFKeyOn b -> Encoding

toJSONList :: [ArrRelUsingFKeyOn b] -> Value

toEncodingList :: [ArrRelUsingFKeyOn b] -> Encoding

Backend b => Cacheable (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
(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 #

(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 #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (WithTable b a)

parseJSONList :: Value -> Parser [WithTable b a]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: WithTable b a -> Value

toEncoding :: WithTable b a -> Encoding

toJSONList :: [WithTable b a] -> Value

toEncodingList :: [WithTable b a] -> Encoding

data ObjRelUsingChoice b Source #

Instances

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

Defined in Hasura.RQL.Types.Relationships.Local

Backend b => Show (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 => FromJSON (ObjRelUsingChoice b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (ObjRelUsingChoice b)

parseJSONList :: Value -> Parser [ObjRelUsingChoice b]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: ObjRelUsingChoice b -> Value

toEncoding :: ObjRelUsingChoice b -> Encoding

toJSONList :: [ObjRelUsingChoice b] -> Value

toEncodingList :: [ObjRelUsingChoice b] -> Encoding

Backend b => Cacheable (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 RelInfo (b :: BackendType) Source #

Constructors

RelInfo 

Instances

Instances details
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 => 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 #

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 => NFData (RelInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

rnf :: RelInfo b -> () #

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

hashWithSalt :: Int -> RelInfo b -> Int

hash :: RelInfo b -> Int

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser (RelInfo b)

parseJSONList :: Value -> Parser [RelInfo b]

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: RelInfo b -> Value

toEncoding :: RelInfo b -> Encoding

toJSONList :: [RelInfo b] -> Value

toEncodingList :: [RelInfo b] -> Encoding

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

Defined in Hasura.RQL.Types.Relationships.Local

Methods

unchanged :: Accesses -> RelInfo b -> RelInfo b -> Bool Source #

type Rep (RelInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

data Nullable Source #

Constructors

Nullable 
NotNullable 

Instances

Instances details
Eq Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Show 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 #

NFData Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

rnf :: Nullable -> () #

Hashable Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

FromJSON Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

parseJSON :: Value -> Parser Nullable

parseJSONList :: Value -> Parser [Nullable]

ToJSON Nullable Source # 
Instance details

Defined in Hasura.RQL.Types.Relationships.Local

Methods

toJSON :: Nullable -> Value

toEncoding :: Nullable -> Encoding

toJSONList :: [Nullable] -> Value

toEncodingList :: [Nullable] -> Encoding

Cacheable 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))