graphql-engine/server/src-lib/Hasura/Backends/MySQL/Instances/Execute.hs
Sibi Prabakaran 385d27449e mysql: Metadata awareness
https://github.com/hasura/graphql-engine-mono/pull/1599

Co-authored-by: Chris Done <11019+chrisdone@users.noreply.github.com>
Co-authored-by: Aniket Deshpande <922486+aniketd@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: 4df4a8ff00fa8ef311a85199d66abe4cc10adc8c
2021-07-15 12:45:51 +00:00

22 lines
943 B
Haskell

{-# OPTIONS_GHC -fno-warn-orphans #-}
module Hasura.Backends.MySQL.Instances.Execute where
import Hasura.Base.Error
import Hasura.GraphQL.Execute.Backend
import Hasura.Prelude
import Hasura.RQL.Types
import qualified Hasura.Tracing as Tracing
instance BackendExecute 'MySQL where
type PreparedQuery 'MySQL = Text
type MultiplexedQuery 'MySQL = Void
type ExecutionMonad 'MySQL = Tracing.TraceT (ExceptT QErr IO)
mkDBQueryPlan = error "MySQL backend does not support this operation yet."
mkDBMutationPlan = error "MySQL backend does not support this operation yet."
mkDBSubscriptionPlan _ _ _ _ = error "MySQL backend does not support this operation yet."
mkDBQueryExplain = error "MySQL backend does not support this operation yet."
mkLiveQueryExplain _ = error "MySQL backend does not support this operation yet."