Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Documentation
checkTableExists :: (Command CheckTableExists return backend, MonadNapkin backend m) => BackendConn backend -> Ref Table -> m return #
listTables :: (Command ListTables (Set ListedTable) backend, MonadNapkin backend m) => BackendConn backend -> Set Prefix -> m (Set ListedTable) #
aEDA :: (Command AEDA return backend, MonadNapkin backend m) => BackendConn backend -> Ref Table -> Relation -> Maybe Int -> Maybe Int -> Bool -> m return #
normalNameMap :: (Command NormalizeTableNames (Map (Ref Table) NormalizedTable) backend, MonadNapkin backend m) => BackendConn backend -> Set (Ref Table) -> m (Map (Ref Table) NormalizedTable) #
lookupNormalName :: Map (Ref Table) NormalizedTable -> Ref Table -> NormalizedTable #
normalizeTableNames :: (Command NormalizeTableNames (Map (Ref Table) NormalizedTable) backend, MonadNapkin backend m) => BackendConn backend -> Set (Ref Table) -> m (Set NormalizedTable) #
findPrefixes :: Set NormalizedTable -> Set Prefix #