relational-schemas-0.1.3.3: RDBMSs' schema templates for relational-query

Safe HaskellNone
LanguageHaskell2010

Database.Relational.Schema.Oracle

Synopsis

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.

getType Source #

Arguments

:: 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.

primaryKeyQuerySQL :: Query (String, String) (Maybe String) Source #

Phantom typed Query to get primary key name from owner name and table name.