2021-07-07 04:43:42 +03:00
|
|
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
|
|
|
|
2022-01-11 01:54:51 +03:00
|
|
|
-- | MSSQL Instances API
|
|
|
|
--
|
|
|
|
-- Defines a 'Hasura.Server.API.Backend.BackendAPI' type class instance for MSSQL.
|
2021-11-04 19:08:33 +03:00
|
|
|
module Hasura.Backends.MSSQL.Instances.API () where
|
2021-07-07 04:43:42 +03:00
|
|
|
|
2021-09-24 01:56:37 +03:00
|
|
|
import Hasura.Prelude
|
2023-04-24 21:35:48 +03:00
|
|
|
import Hasura.RQL.Types.BackendType
|
2021-09-24 01:56:37 +03:00
|
|
|
import Hasura.Server.API.Backend
|
2021-07-07 04:43:42 +03:00
|
|
|
|
|
|
|
instance BackendAPI 'MSSQL where
|
2021-09-24 01:56:37 +03:00
|
|
|
metadataV1CommandParsers =
|
|
|
|
concat
|
|
|
|
[ sourceCommands @'MSSQL,
|
|
|
|
tableCommands @'MSSQL,
|
|
|
|
tablePermissionsCommands @'MSSQL,
|
2022-04-07 18:45:59 +03:00
|
|
|
relationshipCommands @'MSSQL,
|
2022-04-21 10:19:37 +03:00
|
|
|
remoteRelationshipCommands @'MSSQL,
|
2023-03-22 20:09:55 +03:00
|
|
|
eventTriggerCommands @'MSSQL,
|
2023-04-13 19:10:38 +03:00
|
|
|
nativeQueriesCommands @'MSSQL,
|
2023-04-28 16:37:01 +03:00
|
|
|
storedProceduresCommands @'MSSQL,
|
2023-04-19 12:03:36 +03:00
|
|
|
logicalModelsCommands @'MSSQL
|
2021-09-24 01:56:37 +03:00
|
|
|
]
|