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

Hasura.Backends.DataConnector.Adapter.Schema

Orphan instances

BackendSchema 'DataConnector Source # 
Instance details

Methods

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

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

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

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

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

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

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

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

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

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

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

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

relayExtension :: Maybe (XRelay 'DataConnector) Source #

nodesAggExtension :: Maybe (XNodesAgg 'DataConnector) Source #

streamSubscriptionExtension :: Maybe (XStreamingSubscription 'DataConnector) Source #

groupByExtension :: Maybe (XGroupBy 'DataConnector) Source #

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

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

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

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

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

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

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

aggregateOrderByCountType :: ScalarType 'DataConnector Source #

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

BackendTableSelectSchema 'DataConnector Source # 
Instance details

BackendUpdateOperatorsSchema 'DataConnector Source # 
Instance details

Associated Types

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