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

Hasura.Backends.Postgres.Instances.Types

Description

Postgres Instances Types

Defines a Backend type class instance for Postgres.

Synopsis

Documentation

class (Representable (PgExtraTableMetadata pgKind), ToJSON (PgExtraTableMetadata pgKind), FromJSON (PgExtraTableMetadata pgKind)) => PostgresBackend (pgKind :: PostgresKind) Source #

This class is an implementation detail of Backend. Some types of Backend differ across different Postgres "kinds". This class alllows each "kind" to specify its own specific implementation. All common code is directly part of the Backend instance.

Note: Users shouldn't ever put this as a constraint. Use `Backend ('Postgres pgKind)` instead.

Associated Types

type PgExtraTableMetadata pgKind :: Type Source #

Orphan instances

(HasTag ('Postgres pgKind), Typeable ('Postgres pgKind), PostgresBackend pgKind, FromJSON (BackendSourceKind ('Postgres pgKind)), HasCodec (BackendSourceKind ('Postgres pgKind))) => Backend ('Postgres pgKind) Source # 
Instance details

Associated Types

type BackendConfig ('Postgres pgKind) Source #

type SourceConnConfiguration ('Postgres pgKind) Source #

type SourceConfig ('Postgres pgKind) Source #

type TableName ('Postgres pgKind) Source #

type FunctionName ('Postgres pgKind) Source #

type RawFunctionInfo ('Postgres pgKind) Source #

type ConstraintName ('Postgres pgKind) Source #

type BasicOrderType ('Postgres pgKind) Source #

type NullsOrderType ('Postgres pgKind) Source #

type CountType ('Postgres pgKind) Source #

type Column ('Postgres pgKind) Source #

type ScalarValue ('Postgres pgKind) Source #

type ScalarType ('Postgres pgKind) Source #

type SQLExpression ('Postgres pgKind) Source #

type ComputedFieldDefinition ('Postgres pgKind) Source #

type ScalarSelectionArguments ('Postgres pgKind) Source #

type ExtraTableMetadata ('Postgres pgKind) Source #

type FunctionArgument ('Postgres pgKind) Source #

type FunctionArgumentExp ('Postgres pgKind) :: Type -> Type Source #

type ComputedFieldImplicitArguments ('Postgres pgKind) Source #

type ComputedFieldReturn ('Postgres pgKind) Source #

type BooleanOperators ('Postgres pgKind) :: Type -> Type Source #

type AggregationPredicates ('Postgres pgKind) :: Type -> Type Source #

type BackendUpdate ('Postgres pgKind) :: Type -> Type Source #

type BackendInsert ('Postgres pgKind) :: Type -> Type Source #

type XComputedField ('Postgres pgKind) Source #

type XRelay ('Postgres pgKind) Source #

type XNodesAgg ('Postgres pgKind) Source #

type XNestedInserts ('Postgres pgKind) Source #

type XStreamingSubscription ('Postgres pgKind) Source #