|
| Database.HaskellDB.DBSpec.DBInfo | | Portability | non-portable | | Stability | experimental | | Maintainer | haskelldb-users@lists.sourceforge.net |
|
|
|
| Description |
| This is the core file of the DBSpec files. It defines
a DBInfo and important functions on it.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Defines a database layout, top level
| | Constructors | | DBInfo | | | dbname :: String | The name of the database
| | opts :: DBOptions | Any options (i.e whether to use
Bounded Strings)
| | tbls :: [TInfo] | Tables this database contains
|
|
| Instances | |
|
|
|
| Constructors | | TInfo | | | tname :: String | The name of the table
| | cols :: [CInfo] | The columns in this table
|
|
| Instances | |
|
|
|
| Constructors | | CInfo | | | cname :: String | The name of this column
| | descr :: FieldDesc | The description of this column
|
|
| Instances | |
|
|
|
| Constructors | | DBOptions | | | useBString :: Bool | Use Bounded Strings?
| | makeIdent :: MakeIdentifiers | Conversion routines from Database identifiers to Haskell identifiers
|
|
| Instances | |
|
|
|
|
|
|
| :: String | The table name
| | -> [CInfo] | Columns
| | -> TInfo | The generated TInfo
| | Creates a TInfo
|
|
|
|
| :: String | The column name
| | -> FieldDesc | What the column contains
| | -> CInfo | The generated CInfo
| | Creates a CInfo
|
|
|
|
| Pretty prints a DBInfo
|
|
|
|
|
|
|
|
|
| Creates a valid declaration of a DBInfo. The variable name will be the
same as the database name
|
|
|
| Does a final touching up of a DBInfo before it is used by i.e DBDirect.
This converts any Bounded Strings to ordinary strings if that flag is set.
|
|
|
| Constructs a DBInfo that doesn't cause nameclashes
|
|
| Produced by Haddock version 2.6.0 |