graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.MySQL.Instances.Execute

Documentation

Orphan instances

BackendExecute 'MySQL Source # 
Instance details

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 #