Safe Haskell | None |
---|---|
Language | Haskell2010 |
- normalizeColumn :: String -> String
- notNull :: DbaTabColumns -> Bool
- getType :: Map String TypeQ -> DbaTabColumns -> Maybe (String, TypeQ)
- columnsQuerySQL :: Query (String, String) DbaTabColumns
- primaryKeyQuerySQL :: Query (String, String) (Maybe String)
Documentation
normalizeColumn :: String -> String Source
Normalize column name string to query Oracle DB data dictionary.
notNull :: DbaTabColumns -> Bool Source
Not-null attribute information of column.
:: Map String TypeQ | Type mapping specified by user |
-> DbaTabColumns | Column info in data dictionary |
-> Maybe (String, TypeQ) | Result normalized name and mapped Haskell type |
Get column normalized name and column Haskell type.
columnsQuerySQL :: Query (String, String) DbaTabColumns Source
Phantom typed Query
to get DbaTabColumns
from owner name and table name.