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

Hasura.RQL.Types.SourceConfiguration

Documentation

type Representable a = (Show a, Eq a, Hashable a, NFData a) Source #

class (Representable (SourceConnConfiguration b), HasCodec (SourceConnConfiguration b), FromJSON (SourceConnConfiguration b), ToJSON (SourceConfig b), ToJSON (SourceConnConfiguration b), Eq (SourceConfig b), Has (ScalarTypeParsingContext b) (SourceConfig b), Eq (ScalarTypeParsingContext b), Ord (ScalarTypeParsingContext b), HasTag b) => HasSourceConfiguration (b :: BackendType) where Source #

Associated Types

type ScalarTypeParsingContext b Source #

type SourceConnConfiguration b :: Type Source #

User facing connection configuration for a database.

type SourceConfig b :: Type Source #

Internal connection configuration for a database - connection string, connection pool etc

Methods

sourceConfigNumReadReplicas :: SourceConfig b -> Int Source #

The number of read replicas specified in the source configuration

sourceConfigConnectonTemplateEnabled :: SourceConfig b -> Bool Source #

Whether the source configuration specifies the use of a connection template

sourceConfigBackendSourceKind :: SourceConfig b -> BackendSourceKind b Source #

Instances

Instances details
HasSourceConfiguration 'BigQuery Source # 
Instance details

Defined in Hasura.Backends.BigQuery.Instances.Types

HasSourceConfiguration 'DataConnector Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Backend

HasSourceConfiguration 'MSSQL Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Instances.Types

HasTag ('Postgres pgKind) => HasSourceConfiguration ('Postgres pgKind) Source # 
Instance details

Defined in Hasura.Backends.Postgres.Instances.Types

Associated Types

type ScalarTypeParsingContext ('Postgres pgKind) Source #

type SourceConnConfiguration ('Postgres pgKind) Source #

type SourceConfig ('Postgres pgKind) Source #