Methods
mkDBQueryPlan :: (MonadError QErr m, MonadQueryTags m, MonadReader QueryTagsComment m) => UserInfo -> Environment -> SourceName -> SourceConfig 'MySQL -> QueryDB 'MySQL Void (UnpreparedValue 'MySQL) -> m (DBStepInfo 'MySQL) Source #
mkDBMutationPlan :: (MonadError QErr m, MonadQueryTags m, MonadReader QueryTagsComment m) => UserInfo -> StringifyNumbers -> SourceName -> SourceConfig 'MySQL -> MutationDB 'MySQL Void (UnpreparedValue 'MySQL) -> m (DBStepInfo 'MySQL) Source #
mkLiveQuerySubscriptionPlan :: (MonadError QErr m, MonadIO m, MonadBaseControl IO m, MonadReader QueryTagsComment m) => UserInfo -> SourceName -> SourceConfig 'MySQL -> Maybe Name -> RootFieldMap (QueryDB 'MySQL Void (UnpreparedValue 'MySQL)) -> m (SubscriptionQueryPlan 'MySQL (MultiplexedQuery 'MySQL)) Source #
mkDBStreamingSubscriptionPlan :: (MonadError QErr m, MonadIO m, MonadBaseControl IO m, MonadReader QueryTagsComment m) => UserInfo -> SourceName -> SourceConfig 'MySQL -> (RootFieldAlias, QueryDB 'MySQL Void (UnpreparedValue 'MySQL)) -> m (SubscriptionQueryPlan 'MySQL (MultiplexedQuery 'MySQL)) Source #
mkDBQueryExplain :: MonadError QErr m => RootFieldAlias -> UserInfo -> SourceName -> SourceConfig 'MySQL -> QueryDB 'MySQL Void (UnpreparedValue 'MySQL) -> m (AnyBackend DBStepInfo) Source #
mkSubscriptionExplain :: (MonadError QErr m, MonadIO m, MonadBaseControl IO m) => SubscriptionQueryPlan 'MySQL (MultiplexedQuery 'MySQL) -> m SubscriptionQueryPlanExplanation Source #
mkDBRemoteRelationshipPlan :: (MonadError QErr m, MonadQueryTags m) => UserInfo -> SourceName -> SourceConfig 'MySQL -> NonEmpty Object -> HashMap FieldName (Column 'MySQL, ScalarType 'MySQL) -> FieldName -> (FieldName, SourceRelationshipSelection 'MySQL Void UnpreparedValue) -> m (DBStepInfo 'MySQL) Source #