From: <co...@da...> - 2005-09-21 21:17:18
|
Hi I tried the tutorial on the haskell wiki [1] and used dbInfoToModuleFiles to create the DB Layout. As described I named the Table 'MyTable' but in the created file DBInfo.hs, the table was named 'myTable' (caused by a call to 'checkLower' in DBSpecToDBDirect.hs). Obviously this did not work with the Table that I created beforehand (with dbSpecToDatabase with the original dbInfo as parameter). Is this behaviour on purpose? This would mean one could only use Table names that begin with lower case letters. As checkLower is also applied to Field names in DBSpecToDBDirect.hs I assume the same behaviour happens with Fields. [1] http://www.haskell.org/hawiki/HaskellDbTutorial regards Stefan |