mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 05:21:47 +03:00
56db8ec358
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8732 GitOrigin-RevId: e11a0ef6979d1d58a0b39dcd8fff48d446d3420f
14 lines
448 B
Haskell
14 lines
448 B
Haskell
module Hasura.Backends.MySQL.Schema.Introspection
|
|
( listAllTables,
|
|
)
|
|
where
|
|
|
|
import Hasura.Backends.MySQL.Types (TableName)
|
|
import Hasura.Base.Error (QErr, throw500)
|
|
import Hasura.Prelude
|
|
import Hasura.RQL.Types.Common (SourceName)
|
|
|
|
-- | List all tables, tracked or untracked, on a given data source.
|
|
listAllTables :: MonadError QErr m => SourceName -> m [TableName]
|
|
listAllTables _ = throw500 "listAllTables: not implemented for MySQL backend"
|