graphql-engine/server/src-lib/Hasura/Backends/MySQL/Instances/Metadata.hs
2022-05-25 10:25:38 +00:00

24 lines
1.3 KiB
Haskell

{-# OPTIONS_GHC -fno-warn-orphans #-}
module Hasura.Backends.MySQL.Instances.Metadata () where
import Hasura.Backends.MySQL.Connection qualified as MySQL
import Hasura.Prelude
import Hasura.RQL.Types.EventTrigger (RecreateEventTriggers (RETDoNothing))
import Hasura.RQL.Types.Metadata.Backend
import Hasura.SQL.Backend
instance BackendMetadata 'MySQL where
prepareCatalog = const $ pure RETDoNothing
buildComputedFieldInfo = error "buildComputedFieldInfo: MySQL backend does not support this operation yet."
fetchAndValidateEnumValues = error "fetchAndValidateEnumValues: MySQL backend does not support this operation yet."
resolveSourceConfig = MySQL.resolveSourceConfig
resolveDatabaseMetadata _ = MySQL.resolveDatabaseMetadata
parseBoolExpOperations = error "parseBoolExpOperations: MySQL backend does not support this operation yet."
buildFunctionInfo = error "buildFunctionInfo: MySQL backend does not support this operation yet."
updateColumnInEventTrigger = error "updateColumnInEventTrigger: MySQL backend does not support this operation yet."
parseCollectableType = error "parseCollectableType: MySQL backend does not support this operation yet."
postDropSourceHook = MySQL.postDropSourceHook
buildComputedFieldBooleanExp _ _ _ _ _ _ =
error "buildComputedFieldBooleanExp: MySQL backend does not support this operation yet."