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

Hasura.Backends.Postgres.Instances.Types

Description

Postgres Instances Types

Defines a Backend type class instance for Postgres.

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 BackendInfo ('Postgres pgKind) Source #

type TableName ('Postgres pgKind) Source #

type FunctionName ('Postgres pgKind) Source #

type FunctionReturnType ('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) :: Type -> Type 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 HealthCheckTest ('Postgres pgKind) Source #

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

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

type UpdateVariant ('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 XEventTriggers ('Postgres pgKind) Source #

type XNestedInserts ('Postgres pgKind) Source #

type XStreamingSubscription ('Postgres pgKind) Source #

type XNestedObjects ('Postgres pgKind) Source #

type XGroupBy ('Postgres pgKind) Source #

type ResolvedConnectionTemplate ('Postgres pgKind) Source #

type ConnectionTemplateRequestContext ('Postgres pgKind) Source #

type ExecutionStatistics ('Postgres pgKind) Source #

Methods

healthCheckImplementation :: Maybe (HealthCheckImplementation (HealthCheckTest ('Postgres pgKind))) Source #

versionCheckImplementation :: Environment -> SourceConnConfiguration ('Postgres pgKind) -> IO (Either QErr ()) Source #

runPingSource :: Environment -> (String -> IO ()) -> SourceName -> SourceConnConfiguration ('Postgres pgKind) -> IO () Source #

resolveConnectionTemplate :: SourceConfig ('Postgres pgKind) -> ConnectionTemplateRequestContext ('Postgres pgKind) -> Maybe ConnectionTemplate -> Either QErr EncJSON Source #

isComparableType :: ScalarType ('Postgres pgKind) -> Bool Source #

isNumType :: ScalarType ('Postgres pgKind) -> Bool Source #

getCustomAggregateOperators :: SourceConfig ('Postgres pgKind) -> HashMap Name (HashMap (ScalarType ('Postgres pgKind)) (ScalarType ('Postgres pgKind))) Source #

textToScalarValue :: Maybe Text -> ScalarValue ('Postgres pgKind) Source #

parseScalarValue :: ScalarTypeParsingContext ('Postgres pgKind) -> ScalarType ('Postgres pgKind) -> Value -> Either QErr (ScalarValue ('Postgres pgKind)) Source #

scalarValueToJSON :: ScalarValue ('Postgres pgKind) -> Value Source #

functionToTable :: FunctionName ('Postgres pgKind) -> TableName ('Postgres pgKind) Source #

tableToFunction :: TableName ('Postgres pgKind) -> FunctionName ('Postgres pgKind) Source #

computedFieldFunction :: ComputedFieldDefinition ('Postgres pgKind) -> FunctionName ('Postgres pgKind) Source #

computedFieldReturnType :: ComputedFieldReturn ('Postgres pgKind) -> ComputedFieldReturnType ('Postgres pgKind) Source #

supportsAggregateComputedFields :: Bool Source #

fromComputedFieldImplicitArguments :: v -> ComputedFieldImplicitArguments ('Postgres pgKind) -> [FunctionArgumentExp ('Postgres pgKind) v] Source #

tableGraphQLName :: TableName ('Postgres pgKind) -> Either QErr Name Source #

functionGraphQLName :: FunctionName ('Postgres pgKind) -> Either QErr Name Source #

getTableIdentifier :: TableName ('Postgres pgKind) -> Either QErr GQLNameIdentifier Source #

snakeCaseTableName :: TableName ('Postgres pgKind) -> Text Source #

namingConventionSupport :: SupportedNamingCase Source #

resizeSourcePools :: SourceConfig ('Postgres pgKind) -> ServerReplicas -> IO SourceResizePoolSummary Source #

defaultTriggerOnReplication :: Maybe (XEventTriggers ('Postgres pgKind), TriggerOnReplication) Source #

backendSupportsNestedObjects :: Either QErr (XNestedObjects ('Postgres pgKind)) Source #

sourceSupportsSchemalessTables :: SourceConfig ('Postgres pgKind) -> Bool Source #

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

Associated Types

type ScalarTypeParsingContext ('Postgres pgKind) Source #

type SourceConnConfiguration ('Postgres pgKind) Source #

type SourceConfig ('Postgres pgKind) Source #