| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||||||
DBSpec is the new and improved way of specifying databases. It is designed to be able to describe a database in such a way that it can easily be converted to a DBDirect-spec OR directly into a database $Revision: 1.8 $ | |||||||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||||||||||||
| data DBInfo | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| data TInfo | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| data CInfo | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| data DBOptions | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| makeDBSpec | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| makeTInfo | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| makeCInfo | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| constructNonClashingDBInfo :: DBInfo -> DBInfo | |||||||||||||||||||||||||||||||||||||||
| Constructs a DBInfo that doesn't cause nameclashes | |||||||||||||||||||||||||||||||||||||||
| ppDBInfo :: DBInfo -> Doc | |||||||||||||||||||||||||||||||||||||||
| Pretty prints a DBInfo | |||||||||||||||||||||||||||||||||||||||
| ppTInfo :: TInfo -> Doc | |||||||||||||||||||||||||||||||||||||||
| ppCInfo :: CInfo -> Doc | |||||||||||||||||||||||||||||||||||||||
| ppDBOptions :: DBOptions -> Doc | |||||||||||||||||||||||||||||||||||||||
| dbInfoToDoc :: DBInfo -> Doc | |||||||||||||||||||||||||||||||||||||||
| Creates a valid declaration of a DBInfo. The variable name will be the same as the database name | |||||||||||||||||||||||||||||||||||||||
| finalizeSpec :: DBInfo -> DBInfo | |||||||||||||||||||||||||||||||||||||||
| 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. | |||||||||||||||||||||||||||||||||||||||
| dbToDBSpec | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| dbSpecToDatabase | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| Produced by Haddock version 0.8 | |||||||||||||||||||||||||||||||||||||||