Methods
buildTableQueryAndSubscriptionFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> SourceInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> GQLNameIdentifier -> m ([FieldParser n (QueryDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))], [FieldParser n (QueryDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))], Maybe (Name, Parser 'Output n (ApolloFederationParserFunction n))) Source #
buildTableStreamingSubscriptionFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> SourceInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> GQLNameIdentifier -> m [FieldParser n (QueryDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildTableRelayQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> SourceInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> GQLNameIdentifier -> NESeq (ColumnInfo 'MySQL) -> m [FieldParser n (QueryDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildTableInsertMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> Scenario -> SourceInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> GQLNameIdentifier -> m [FieldParser n (AnnotatedInsert 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildTableUpdateMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> Scenario -> SourceInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> GQLNameIdentifier -> m [FieldParser n (AnnotatedUpdateG 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildTableDeleteMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> Scenario -> SourceInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> GQLNameIdentifier -> m [FieldParser n (AnnDelG 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildFunctionQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> SourceInfo 'MySQL -> FunctionName 'MySQL -> FunctionInfo 'MySQL -> TableName 'MySQL -> m [FieldParser n (QueryDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildFunctionRelayQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> SourceInfo 'MySQL -> FunctionName 'MySQL -> FunctionInfo 'MySQL -> TableName 'MySQL -> NESeq (ColumnInfo 'MySQL) -> m [FieldParser n (QueryDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
buildFunctionMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => MkRootFieldName -> SourceInfo 'MySQL -> FunctionName 'MySQL -> FunctionInfo 'MySQL -> TableName 'MySQL -> m [FieldParser n (MutationDB 'MySQL (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'MySQL))] Source #
mkRelationshipParser :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => SourceInfo 'MySQL -> RelInfo 'MySQL -> m (Maybe (InputFieldsParser n (Maybe (AnnotatedInsertField 'MySQL (UnpreparedValue 'MySQL))))) Source #
relayExtension :: Maybe (XRelay 'MySQL) Source #
nodesAggExtension :: Maybe (XNodesAgg 'MySQL) Source #
streamSubscriptionExtension :: Maybe (XStreamingSubscription 'MySQL) Source #
columnParser :: forall (n :: Type -> Type) m r. (MonadParse n, MonadError QErr m, MonadReader r m, Has MkTypename r, Has NamingCase r) => ColumnType 'MySQL -> Nullability -> m (Parser 'Both n (ValueWithOrigin (ColumnValue 'MySQL))) Source #
scalarSelectionArgumentsParser :: forall (n :: Type -> Type). MonadParse n => ColumnType 'MySQL -> InputFieldsParser n (Maybe (ScalarSelectionArguments 'MySQL)) Source #
orderByOperators :: SourceInfo 'MySQL -> NamingCase -> (Name, NonEmpty (Definition EnumValueInfo, (BasicOrderType 'MySQL, NullsOrderType 'MySQL))) Source #
comparisonExps :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => ColumnType 'MySQL -> m (Parser 'Input n [ComparisonExp 'MySQL]) Source #
countTypeInput :: forall (n :: Type -> Type). MonadParse n => Maybe (Parser 'Both n (Column 'MySQL)) -> InputFieldsParser n (CountDistinct -> CountType 'MySQL) Source #
aggregateOrderByCountType :: ScalarType 'MySQL Source #
computedField :: forall r m (n :: Type -> Type). MonadBuildSchema 'MySQL r m n => SourceInfo 'MySQL -> ComputedFieldInfo 'MySQL -> TableName 'MySQL -> TableInfo 'MySQL -> m (Maybe (FieldParser n (AnnotatedField 'MySQL))) Source #