Methods
runDBQuery :: (MonadIO m, MonadError QErr m, MonadQueryLog m, MonadTrace m) => RequestId -> GQLReqUnparsed -> RootFieldAlias -> UserInfo -> Logger Hasura -> SourceConfig 'DataConnector -> ExecutionMonad 'DataConnector EncJSON -> Maybe (PreparedQuery 'DataConnector) -> m (DiffTime, EncJSON) Source #
runDBMutation :: (MonadIO m, MonadError QErr m, MonadQueryLog m, MonadTrace m) => RequestId -> GQLReqUnparsed -> RootFieldAlias -> UserInfo -> Logger Hasura -> SourceConfig 'DataConnector -> ExecutionMonad 'DataConnector EncJSON -> Maybe (PreparedQuery 'DataConnector) -> m (DiffTime, EncJSON) Source #
runDBSubscription :: MonadIO m => SourceConfig 'DataConnector -> MultiplexedQuery 'DataConnector -> [(CohortId, CohortVariables)] -> m (DiffTime, Either QErr [(CohortId, ByteString)]) Source #
runDBStreamingSubscription :: MonadIO m => SourceConfig 'DataConnector -> MultiplexedQuery 'DataConnector -> [(CohortId, CohortVariables)] -> m (DiffTime, Either QErr [(CohortId, ByteString, CursorVariableValues)]) Source #
runDBQueryExplain :: (MonadIO m, MonadError QErr m) => DBStepInfo 'DataConnector -> m EncJSON Source #