graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Backends.DataConnector.Adapter.Execute

Documentation

Orphan instances

BackendExecute 'DataConnector Source # 
Instance details

Methods

mkDBQueryPlan :: (MonadError QErr m, MonadQueryTags m, MonadReader QueryTagsComment m) => UserInfo -> SourceName -> SourceConfig 'DataConnector -> QueryDB 'DataConnector Void (UnpreparedValue 'DataConnector) -> [Header] -> Maybe Name -> m (DBStepInfo 'DataConnector) Source #

mkDBMutationPlan :: (MonadError QErr m, MonadIO m, MonadQueryTags m, MonadReader QueryTagsComment m, MonadTrace m) => Environment -> Manager -> Logger Hasura -> UserInfo -> StringifyNumbers -> SourceName -> SourceConfig 'DataConnector -> MutationDB 'DataConnector Void (UnpreparedValue 'DataConnector) -> [Header] -> Maybe Name -> Maybe (HashMap Name (Value Variable)) -> 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)) -> [Header] -> Maybe Name -> 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)) -> [Header] -> Maybe Name -> m (SubscriptionQueryPlan 'DataConnector (MultiplexedQuery 'DataConnector)) Source #

mkDBQueryExplain :: MonadError QErr m => RootFieldAlias -> UserInfo -> SourceName -> SourceConfig 'DataConnector -> QueryDB 'DataConnector Void (UnpreparedValue 'DataConnector) -> [Header] -> Maybe Name -> 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) -> [Header] -> Maybe Name -> StringifyNumbers -> m (DBStepInfo 'DataConnector) Source #