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

Hasura.Backends.Postgres.Connection.Settings

Description

Postgres Connection Settings

This module contains types and combinators related to postgres connection, pool, and replica related settings.

Synopsis

Documentation

data PostgresPoolSettings Source #

Instances

Instances details
FromJSON PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep PostgresPoolSettings :: Type -> Type #

Show PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: PostgresPoolSettings -> () #

Eq PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresPoolSettings Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresPoolSettings = D1 ('MetaData "PostgresPoolSettings" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PostgresPoolSettings" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_ppsMaxConnections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "_ppsTotalMaxConnections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "_ppsIdleTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "_ppsRetries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "_ppsPoolTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NominalDiffTime)) :*: S1 ('MetaSel ('Just "_ppsConnectionLifetime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NominalDiffTime))))))

data SSLMode Source #

Instances

Instances details
FromJSON SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Semigroup SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Bounded SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Enum SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep SSLMode :: Type -> Type #

Methods

from :: SSLMode -> Rep SSLMode x #

to :: Rep SSLMode x -> SSLMode #

Show SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: SSLMode -> () #

Eq SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

(==) :: SSLMode -> SSLMode -> Bool #

(/=) :: SSLMode -> SSLMode -> Bool #

Ord SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep SSLMode Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep SSLMode = D1 ('MetaData "SSLMode" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) ((C1 ('MetaCons "Disable" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Allow" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Prefer" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Require" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VerifyCA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VerifyFull" 'PrefixI 'False) (U1 :: Type -> Type))))

newtype CertVar Source #

Constructors

CertVar String 

Instances

Instances details
FromJSON CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep CertVar :: Type -> Type #

Methods

from :: CertVar -> Rep CertVar x #

to :: Rep CertVar x -> CertVar #

Show CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: CertVar -> () #

Eq CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

(==) :: CertVar -> CertVar -> Bool #

(/=) :: CertVar -> CertVar -> Bool #

Hashable CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep CertVar Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep CertVar = D1 ('MetaData "CertVar" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "CertVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

newtype CertData Source #

Constructors

CertData 

Fields

Instances

Instances details
ToJSON CertData Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec CertData Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic CertData Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep CertData :: Type -> Type #

Methods

from :: CertData -> Rep CertData x #

to :: Rep CertData x -> CertData #

Show CertData Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Eq CertData Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep CertData Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep CertData = D1 ('MetaData "CertData" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "CertData" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data PGClientCerts p a Source #

Instances

Instances details
Bifoldable PGClientCerts Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

bifold :: Monoid m => PGClientCerts m m -> m #

bifoldMap :: Monoid m => (a -> m) -> (b -> m) -> PGClientCerts a b -> m #

bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> PGClientCerts a b -> c #

bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> PGClientCerts a b -> c #

Bifunctor PGClientCerts Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

bimap :: (a -> b) -> (c -> d) -> PGClientCerts a c -> PGClientCerts b d #

first :: (a -> b) -> PGClientCerts a c -> PGClientCerts b c #

second :: (b -> c) -> PGClientCerts a b -> PGClientCerts a c #

Bitraversable PGClientCerts Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> PGClientCerts a b -> f (PGClientCerts c d) #

Foldable (PGClientCerts p) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

fold :: Monoid m => PGClientCerts p m -> m #

foldMap :: Monoid m => (a -> m) -> PGClientCerts p a -> m #

foldMap' :: Monoid m => (a -> m) -> PGClientCerts p a -> m #

foldr :: (a -> b -> b) -> b -> PGClientCerts p a -> b #

foldr' :: (a -> b -> b) -> b -> PGClientCerts p a -> b #

foldl :: (b -> a -> b) -> b -> PGClientCerts p a -> b #

foldl' :: (b -> a -> b) -> b -> PGClientCerts p a -> b #

foldr1 :: (a -> a -> a) -> PGClientCerts p a -> a #

foldl1 :: (a -> a -> a) -> PGClientCerts p a -> a #

toList :: PGClientCerts p a -> [a] #

null :: PGClientCerts p a -> Bool #

length :: PGClientCerts p a -> Int #

elem :: Eq a => a -> PGClientCerts p a -> Bool #

maximum :: Ord a => PGClientCerts p a -> a #

minimum :: Ord a => PGClientCerts p a -> a #

sum :: Num a => PGClientCerts p a -> a #

product :: Num a => PGClientCerts p a -> a #

Traversable (PGClientCerts p) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

traverse :: Applicative f => (a -> f b) -> PGClientCerts p a -> f (PGClientCerts p b) #

sequenceA :: Applicative f => PGClientCerts p (f a) -> f (PGClientCerts p a) #

mapM :: Monad m => (a -> m b) -> PGClientCerts p a -> m (PGClientCerts p b) #

sequence :: Monad m => PGClientCerts p (m a) -> m (PGClientCerts p a) #

Functor (PGClientCerts p) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

fmap :: (a -> b) -> PGClientCerts p a -> PGClientCerts p b #

(<$) :: a -> PGClientCerts p b -> PGClientCerts p a #

(FromJSON p, FromJSON a) => FromJSON (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

(ToJSON p, ToJSON a) => ToJSON (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

(HasCodec p, HasCodec a) => HasCodec (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep (PGClientCerts p a) :: Type -> Type #

Methods

from :: PGClientCerts p a -> Rep (PGClientCerts p a) x #

to :: Rep (PGClientCerts p a) x -> PGClientCerts p a #

(Show a, Show p) => Show (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

(NFData p, NFData a) => NFData (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: PGClientCerts p a -> () #

(Eq a, Eq p) => Eq (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

(==) :: PGClientCerts p a -> PGClientCerts p a -> Bool #

(/=) :: PGClientCerts p a -> PGClientCerts p a -> Bool #

(Hashable p, Hashable a) => Hashable (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep (PGClientCerts p a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep (PGClientCerts p a) = D1 ('MetaData "PGClientCerts" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PGClientCerts" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pgcSslCert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe a)) :*: S1 ('MetaSel ('Just "pgcSslKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe a))) :*: (S1 ('MetaSel ('Just "pgcSslRootCert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe a)) :*: (S1 ('MetaSel ('Just "pgcSslMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SSLMode) :*: S1 ('MetaSel ('Just "pgcSslPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe p))))))

data PostgresSourceConnInfo Source #

Instances

Instances details
FromJSON PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep PostgresSourceConnInfo :: Type -> Type #

Show PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: PostgresSourceConnInfo -> () #

Eq PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresSourceConnInfo Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresSourceConnInfo = D1 ('MetaData "PostgresSourceConnInfo" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PostgresSourceConnInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_psciDatabaseUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UrlConf) :*: S1 ('MetaSel ('Just "_psciPoolSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PostgresPoolSettings))) :*: (S1 ('MetaSel ('Just "_psciUsePreparedStatements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_psciIsolationLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TxIsolation) :*: S1 ('MetaSel ('Just "_psciSslConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (PGClientCerts CertVar CertVar)))))))

data KritiTemplate Source #

`kriti-lang` template.

Constructors

KritiTemplate 

Fields

Instances

Instances details
FromJSON KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep KritiTemplate :: Type -> Type #

Show KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: KritiTemplate -> () #

Eq KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep KritiTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep KritiTemplate = D1 ('MetaData "KritiTemplate" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "KritiTemplate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ktSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ktParsedAST") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ValueExt)))

data ConnectionTemplate Source #

Connection template for the dynamic DB connection.

Constructors

ConnectionTemplate 

Fields

  • _ctVersion :: Int

    Version for the connection template. Please read more about this in the dynamic DB connection RFC (Metadata API > Versioning).

  • _ctTemplate :: KritiTemplate

    `kriti-lang` template for the dynamic DB connection.

Instances

Instances details
FromJSON ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep ConnectionTemplate :: Type -> Type #

Show ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: ConnectionTemplate -> () #

Eq ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep ConnectionTemplate Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep ConnectionTemplate = D1 ('MetaData "ConnectionTemplate" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ConnectionTemplate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ctVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_ctTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 KritiTemplate)))

newtype PostgresConnectionSetMemberName Source #

Name of the member of a connection set.

Instances

Instances details
FromJSON PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep PostgresConnectionSetMemberName :: Type -> Type #

Show PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Eq PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Ord PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToTxt PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnectionSetMemberName Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnectionSetMemberName = D1 ('MetaData "PostgresConnectionSetMemberName" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "PostgresConnectionSetMemberName" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPostgresConnectionSetMemberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

data PostgresConnectionSetMember Source #

Instances

Instances details
FromJSON PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep PostgresConnectionSetMember :: Type -> Type #

Show PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Eq PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnectionSetMember Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnectionSetMember = D1 ('MetaData "PostgresConnectionSetMember" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PostgresConnectionSetMember" 'PrefixI 'True) (S1 ('MetaSel ('Just "_pscmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PostgresConnectionSetMemberName) :*: S1 ('MetaSel ('Just "_pscmConnectionInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PostgresSourceConnInfo)))

newtype PostgresConnectionSet Source #

HashMap of the connection set. This is used for the dynamic DB connection feature.

Instances

Instances details
FromJSON PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Semigroup PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep PostgresConnectionSet :: Type -> Type #

Show PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Methods

rnf :: PostgresConnectionSet -> () #

Eq PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnectionSet Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnectionSet = D1 ('MetaData "PostgresConnectionSet" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "PostgresConnectionSet" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPostgresConnectionSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NEHashMap PostgresConnectionSetMemberName PostgresConnectionSetMember))))

data PostgresConnConfiguration Source #

Instances

Instances details
FromJSON PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

ToJSON PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

HasCodec PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Generic PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Associated Types

type Rep PostgresConnConfiguration :: Type -> Type #

Show PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

NFData PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Eq PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

Hashable PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnConfiguration Source # 
Instance details

Defined in Hasura.Backends.Postgres.Connection.Settings

type Rep PostgresConnConfiguration = D1 ('MetaData "PostgresConnConfiguration" "Hasura.Backends.Postgres.Connection.Settings" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "PostgresConnConfiguration" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_pccConnectionInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PostgresSourceConnInfo) :*: S1 ('MetaSel ('Just "_pccReadReplicas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty PostgresSourceConnInfo)))) :*: (S1 ('MetaSel ('Just "_pccExtensionsSchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExtensionsSchema) :*: (S1 ('MetaSel ('Just "_pccConnectionTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionTemplate)) :*: S1 ('MetaSel ('Just "_pccConnectionSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PostgresConnectionSet))))))

Orphan instances