mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 04:24:35 +03:00
6b7b68504a
GitOrigin-RevId: 47f7e9b7daa3f89771dd3883e9f6050274827e27
14 lines
369 B
Haskell
14 lines
369 B
Haskell
module Hasura.SQL.Backend where
|
|
|
|
import Hasura.Prelude
|
|
|
|
data BackendType = Postgres -- MySQL | MSSQL
|
|
deriving (Show, Bounded, Enum)
|
|
-- TODO: introduce a "None" backend for parts of the code that
|
|
-- should never touch an actual backend, such as introspection
|
|
-- queries.
|
|
|
|
data BackendTag (b :: BackendType) where
|
|
PostgresTag :: BackendTag 'Postgres
|
|
|