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

Hasura.Backends.MySQL.Instances.Transport

Documentation

runQuery Source #

Arguments

:: (MonadIO m, MonadQueryLog m, MonadTrace m, MonadError QErr m) 
=> RequestId 
-> GQLReqUnparsed 
-> RootFieldAlias 
-> UserInfo 
-> Logger Hasura 
-> SourceConfig 'MySQL 
-> TraceT (ExceptT QErr IO) EncJSON 
-> Maybe (PreparedQuery 'MySQL) 
-> m (DiffTime, EncJSON)

Also return the time spent in the PG query; for telemetry.

run :: (MonadIO m, MonadError QErr m) => ExceptT QErr IO a -> m a Source #

Orphan instances