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