Methods
buildTableQueryAndSubscriptionFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> SourceInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> GQLNameIdentifier -> 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 (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> SourceInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> GQLNameIdentifier -> m [FieldParser n (QueryDB 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildTableRelayQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> SourceInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> GQLNameIdentifier -> NESeq (ColumnInfo 'DataConnector) -> m [FieldParser n (QueryDB 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildTableInsertMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> Scenario -> SourceInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> GQLNameIdentifier -> m [FieldParser n (AnnotatedInsert 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildTableUpdateMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> Scenario -> SourceInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> GQLNameIdentifier -> m [FieldParser n (AnnotatedUpdateG 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildTableDeleteMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> Scenario -> SourceInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> GQLNameIdentifier -> m [FieldParser n (AnnDelG 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildFunctionQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> SourceInfo 'DataConnector -> FunctionName 'DataConnector -> FunctionInfo 'DataConnector -> TableName 'DataConnector -> m [FieldParser n (QueryDB 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildFunctionRelayQueryFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> SourceInfo 'DataConnector -> FunctionName 'DataConnector -> FunctionInfo 'DataConnector -> TableName 'DataConnector -> NESeq (ColumnInfo 'DataConnector) -> m [FieldParser n (QueryDB 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
buildFunctionMutationFields :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => MkRootFieldName -> SourceInfo 'DataConnector -> FunctionName 'DataConnector -> FunctionInfo 'DataConnector -> TableName 'DataConnector -> m [FieldParser n (MutationDB 'DataConnector (RemoteRelationshipField UnpreparedValue) (UnpreparedValue 'DataConnector))] Source #
mkRelationshipParser :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => SourceInfo 'DataConnector -> RelInfo 'DataConnector -> 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 #
columnParser :: forall (n :: Type -> Type) m r. (MonadParse n, MonadError QErr m, MonadReader r m, Has MkTypename r, Has NamingCase r) => ColumnType 'DataConnector -> Nullability -> m (Parser 'Both n (ValueWithOrigin (ColumnValue '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 (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => ColumnType 'DataConnector -> m (Parser 'Input n [ComparisonExp 'DataConnector]) Source #
countTypeInput :: forall (n :: Type -> Type). MonadParse n => Maybe (Parser 'Both n (Column 'DataConnector)) -> InputFieldsParser n (CountDistinct -> CountType 'DataConnector) Source #
aggregateOrderByCountType :: ScalarType 'DataConnector Source #
computedField :: forall r m (n :: Type -> Type). MonadBuildSchema 'DataConnector r m n => SourceInfo 'DataConnector -> ComputedFieldInfo 'DataConnector -> TableName 'DataConnector -> TableInfo 'DataConnector -> m (Maybe (FieldParser n (AnnotatedField 'DataConnector))) Source #