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

Hasura.Backends.BigQuery.Instances.Transport

Documentation

runQuery Source #

Arguments

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

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

runMutation Source #

Arguments

:: MonadError QErr m 
=> RequestId 
-> GQLReqUnparsed 
-> RootFieldAlias 
-> UserInfo 
-> Logger Hasura 
-> SourceConfig 'BigQuery 
-> TraceT (ExceptT QErr IO) EncJSON 
-> Maybe Text 
-> m (DiffTime, EncJSON)

Also return Mutation when the operation was a mutation, and the time spent in the PG query; for telemetry.

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

Orphan instances