The ta package
The purpose of this library is to add convenience in database accesses when using Takusen and Oracle, by generating boilerplate code. It's not a substitute to Takusen.
Transito Abierto is implemented in the library (Database.TA.TAB) and this also provides functionality used by the generated code.
TA will generate the declarations of:
1. The datatype declaration for the result of a query,
2. The DBM action that run the query and accumulates the result,
3.Optionally, a meta-variable whose value is the former two declarations.
This initial version has the following benefits:
TA contains code to test if your program will fail before it runs, based on comparing the original generated code versus a fresh version of generated code,
The user can code queries with more than eight columns length,
The code generator process is aware if the column can be null, and generate the appropiate code.
Some TA drawbacks at this point are:
The user only can specify queries, that is, select statements.
The select specification is awkward.
The select specification is a list. You can specify one or many under a sole name. - You can bind parameters or not (by means of []).
Functions names and constructors are named in spanish.
[Skip to Readme]
|Dependencies||base (==4.*), containers (>=0.3), ghc-prim, mtl (>=1.1), Takusen (>=0.8.5), template-haskell (==2.4.*), time (>=1.1) [details]|
|Copyright||Leonel Fonseca, 2010|
|Maintainer||Leonel Fonseca <firstname.lastname@example.org>|
|Home page||not available|
|Uploaded||Fri Sep 17 15:29:07 UTC 2010 by LeonelFonseca|
|Downloads||285 total (5 in the last 30 days)|
|Status||Docs not available [build log]
All reported builds failed as of 2015-11-13 [all 5 reports]
For package maintainers and hackage trustees