mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 05:21:47 +03:00
00aeb57adf
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5689 GitOrigin-RevId: 86e18e92106e5e5b6543f17fc21e2ab65bdd69ed
28 lines
1.1 KiB
Haskell
28 lines
1.1 KiB
Haskell
{-# LANGUAGE UndecidableInstances #-}
|
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
-- | MSSQL Instances Metadata
|
|
--
|
|
-- Defines a 'Hasura.RQL.Types.Metadata.Backend.BackendMetadata' type class instance for MSSQL.
|
|
module Hasura.Backends.MSSQL.Instances.Metadata () where
|
|
|
|
import Hasura.Backends.MSSQL.DDL qualified as MSSQL
|
|
import Hasura.Base.Error (throw500)
|
|
import Hasura.Prelude
|
|
import Hasura.RQL.Types.Metadata.Backend
|
|
import Hasura.SQL.Backend
|
|
|
|
instance BackendMetadata 'MSSQL where
|
|
prepareCatalog = MSSQL.prepareCatalog
|
|
buildComputedFieldInfo = MSSQL.buildComputedFieldInfo
|
|
fetchAndValidateEnumValues = MSSQL.fetchAndValidateEnumValues
|
|
resolveSourceConfig = const MSSQL.resolveSourceConfig
|
|
resolveDatabaseMetadata _ = MSSQL.resolveDatabaseMetadata
|
|
parseBoolExpOperations = MSSQL.parseBoolExpOperations
|
|
buildFunctionInfo = MSSQL.buildFunctionInfo
|
|
updateColumnInEventTrigger = MSSQL.updateColumnInEventTrigger
|
|
parseCollectableType = MSSQL.parseCollectableType
|
|
postDropSourceHook = MSSQL.postDropSourceHook
|
|
buildComputedFieldBooleanExp _ _ _ _ _ _ =
|
|
throw500 "Computed fields are not yet defined for MSSQL backends"
|