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

Hasura.Backends.MSSQL.Instances.Schema

Description

MSSQL Instances Schema

Defines a BackendSchema type class instance for MSSQL.

Synopsis

    BackendSchema instance

    Top level parsers

    Table arguments

    Individual components

    Orphan instances

    BackendLogicalModelSelectSchema 'MSSQL Source # 
    Instance details

    BackendNativeQuerySelectSchema 'MSSQL Source # 
    Instance details

    BackendSchema 'MSSQL Source # 
    Instance details

    Methods

    buildTableQueryAndSubscriptionFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> TableName 'MSSQL -> TableInfo 'MSSQL -> GQLNameIdentifier -> SchemaT r m ([FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))], [FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))], Maybe (Name, Parser 'Output n (ApolloFederationParserFunction n))) Source #

    buildTableStreamingSubscriptionFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> TableName 'MSSQL -> TableInfo 'MSSQL -> GQLNameIdentifier -> SchemaT r m [FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildTableRelayQueryFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> TableName 'MSSQL -> TableInfo 'MSSQL -> GQLNameIdentifier -> NESeq (ColumnInfo 'MSSQL) -> SchemaT r m [FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildTableInsertMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> Scenario -> TableName 'MSSQL -> TableInfo 'MSSQL -> GQLNameIdentifier -> SchemaT r m [FieldParser n (AnnotatedInsert 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildTableUpdateMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => Scenario -> TableInfo 'MSSQL -> GQLNameIdentifier -> SchemaT r m [FieldParser n (AnnotatedUpdateG 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildTableDeleteMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> Scenario -> TableName 'MSSQL -> TableInfo 'MSSQL -> GQLNameIdentifier -> SchemaT r m [FieldParser n (AnnDelG 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildFunctionQueryFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> FunctionName 'MSSQL -> FunctionInfo 'MSSQL -> TableName 'MSSQL -> SchemaT r m [FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildFunctionRelayQueryFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> FunctionName 'MSSQL -> FunctionInfo 'MSSQL -> TableName 'MSSQL -> NESeq (ColumnInfo 'MSSQL) -> SchemaT r m [FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildFunctionMutationFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => MkRootFieldName -> FunctionName 'MSSQL -> FunctionInfo 'MSSQL -> TableName 'MSSQL -> SchemaT r m [FieldParser n (MutationDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL))] Source #

    buildNativeQueryRootFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => NativeQueryInfo 'MSSQL -> SchemaT r m (Maybe (FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL)))) Source #

    buildStoredProcedureRootFields :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => StoredProcedureInfo 'MSSQL -> SchemaT r m (Maybe (FieldParser n (QueryDB 'MSSQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MSSQL)))) Source #

    mkRelationshipParser :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => RelInfo 'MSSQL -> SchemaT r m (Maybe (InputFieldsParser n (Maybe (AnnotatedInsertField 'MSSQL (UnpreparedValue 'MSSQL))))) Source #

    relayExtension :: Maybe (XRelay 'MSSQL) Source #

    nodesAggExtension :: Maybe (XNodesAgg 'MSSQL) Source #

    streamSubscriptionExtension :: Maybe (XStreamingSubscription 'MSSQL) Source #

    groupByExtension :: Maybe (XGroupBy 'MSSQL) Source #

    columnParser :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => ColumnType 'MSSQL -> Nullability -> SchemaT r m (Parser 'Both n (ValueWithOrigin (ColumnValue 'MSSQL))) Source #

    enumParser :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => TableName 'MSSQL -> NonEmpty (EnumValue, EnumValueInfo) -> Maybe Name -> Nullability -> SchemaT r m (Parser 'Both n (ScalarValue 'MSSQL)) Source #

    possiblyNullable :: forall (m :: Type -> Type). MonadParse m => ScalarType 'MSSQL -> Nullability -> Parser 'Both m (ScalarValue 'MSSQL) -> Parser 'Both m (ScalarValue 'MSSQL) Source #

    scalarSelectionArgumentsParser :: forall (n :: Type -> Type). MonadParse n => ColumnType 'MSSQL -> InputFieldsParser n (Maybe (ScalarSelectionArguments 'MSSQL)) Source #

    orderByOperators :: SourceInfo 'MSSQL -> NamingCase -> (Name, NonEmpty (Definition EnumValueInfo, (BasicOrderType 'MSSQL, NullsOrderType 'MSSQL))) Source #

    comparisonExps :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => ColumnType 'MSSQL -> SchemaT r m (Parser 'Input n [ComparisonExp 'MSSQL]) Source #

    countTypeInput :: forall (n :: Type -> Type). MonadParse n => Maybe (Parser 'Both n (Column 'MSSQL, AnnRedactionExpUnpreparedValue 'MSSQL)) -> InputFieldsParser n (CountDistinct -> CountType 'MSSQL (UnpreparedValue 'MSSQL)) Source #

    aggregateOrderByCountType :: ScalarType 'MSSQL Source #

    computedField :: forall r (m :: Type -> Type) (n :: Type -> Type). MonadBuildSchema 'MSSQL r m n => ComputedFieldInfo 'MSSQL -> TableName 'MSSQL -> TableInfo 'MSSQL -> SchemaT r m (Maybe (FieldParser n (AnnotatedField 'MSSQL))) Source #

    BackendTableSelectSchema 'MSSQL Source # 
    Instance details

    BackendUpdateOperatorsSchema 'MSSQL Source # 
    Instance details

    Associated Types

    type UpdateOperators 'MSSQL :: Type -> Type Source #