Commit Graph

61 Commits

Author SHA1 Message Date
Kei Hibino
c803dc97b8 Add fetch function. 2013-05-11 02:32:06 +09:00
Kei Hibino
38b67662eb Update code for test. 2013-05-11 02:31:43 +09:00
Kei Hibino
faf91d14f5 Update with integrated Database.Record module and divide module about
Singleton wraped type like DB-record.
2013-05-10 01:06:38 +09:00
Kei Hibino
dce3d7fd2a Cleaning up TH symbol imports. 2013-05-09 17:46:12 +09:00
Kei Hibino
791833b03a Cleaning up instance imports. 2013-05-09 17:42:12 +09:00
Kei Hibino
80b45bd1bf Treat unit type as zero-width record and defines Extended relation
type which requires parameter type.
2013-05-09 17:32:24 +09:00
Kei Hibino
23f2b8ee8e Remove TH functions which provides old table info. 2013-05-09 14:05:46 +09:00
Kei Hibino
f91b794a3d Update to use Relation. 2013-05-09 12:39:27 +09:00
Kei Hibino
fc203a06fa Update to use Table type definitions from schema drivers. 2013-05-08 16:41:14 +09:00
Kei Hibino
d6ace60288 Cleaning up export list and remove unused definitions. 2013-05-08 15:06:19 +09:00
Kei Hibino
f52371e0ad Move TH functions which is independent of HDBC from HDBC-schema-th into DB-record. 2013-05-08 14:42:57 +09:00
Kei Hibino
a61ec7376d Move TH functions to construct and to decompose records. 2013-05-08 02:07:11 +09:00
Kei Hibino
a3ee5c2e38 Define PersistableSqlType proof object instead of PersistableNullValue. 2013-05-08 00:49:52 +09:00
Kei Hibino
eab198afc3 Parameterize SQL value type. 2013-05-08 00:47:40 +09:00
Kei Hibino
2efd39d75d Move TH functions which is independent of HDBC from HDBC-schema-th into DB-record. 2013-05-07 19:48:38 +09:00
Kei Hibino
104ebe4756 Use common TH functions in names-th. 2013-05-07 19:18:30 +09:00
Kei Hibino
eb31bcf597 Move TH functions which is independent of HDBC from HDBC-schema-th info DB-record. 2013-05-07 18:52:45 +09:00
Kei Hibino
8744e55171 Rename package from th-names to names-th.
--HG--
rename : th-names/GNUmakefile => names-th/GNUmakefile
rename : th-names/LICENSE => names-th/LICENSE
rename : th-names/Setup.hs => names-th/Setup.hs
rename : th-names/debian/changelog => names-th/debian/changelog
rename : th-names/debian/compat => names-th/debian/compat
rename : th-names/debian/control => names-th/debian/control
rename : th-names/debian/copyright => names-th/debian/copyright
rename : th-names/debian/rules => names-th/debian/rules
rename : th-names/debian/source/format => names-th/debian/source/format
rename : th-names/debian/watch => names-th/debian/watch
rename : th-names/th-names.cabal => names-th/names-th.cabal
rename : th-names/src/Language/Haskell/TH/Name/CamelCase.hs => names-th/src/Language/Haskell/TH/Name/CamelCase.hs
rename : th-names/src/Language/Haskell/TH/Name/Extra.hs => names-th/src/Language/Haskell/TH/Name/Extra.hs
2013-05-07 17:22:06 +09:00
Kei Hibino
2a51fd946f Renamed modules in th-names.
--HG--
rename : th-names/src/Language/Haskell/TH/CamelCaseNames.hs => th-names/src/Language/Haskell/TH/Name/CamelCase.hs
rename : th-names/src/Language/Haskell/TH/Extra.hs => th-names/src/Language/Haskell/TH/Name/Extra.hs
2013-05-07 16:59:30 +09:00
Kei Hibino
c5887b4c81 Update to use not wrapped (Singleton) types. 2013-05-07 12:20:31 +09:00
Kei Hibino
8d32d52eb8 Support values which is not wrapped by Singleton for SqlValue types. 2013-05-07 10:31:47 +09:00
Kei Hibino
f5f5631c9f Support values which is not wrapped by Singleton for SqlValue types. 2013-05-07 00:00:43 +09:00
Kei Hibino
6302ce8329 Update codes for tests. 2013-05-04 23:56:24 +09:00
Kei Hibino
0eae444f96 Divide camelcase name functions into another package. 2013-05-03 02:45:07 +09:00
Kei Hibino
14c6cd58ca Move the phantom Query type from HDBC-schema-th into relational-join. 2013-05-02 17:21:21 +09:00
Kei Hibino
e87c1c8e49 Update along with divided PersistableRecord. 2013-05-02 03:03:11 +09:00
Kei Hibino
fe51ff8ae0 PersistableRecordWidth proof object is divided from PersistableRecord. 2013-05-02 02:40:58 +09:00
Kei Hibino
f2d0dd69bd No relational-join version. 2013-05-01 19:04:12 +09:00
Kei Hibino
eccc794f82 Add relational-join package. 2013-04-27 04:22:39 +09:00
Kei Hibino
ea250cdd4c Update along with renamed SQL operators. 2013-04-27 01:05:57 +09:00
Kei Hibino
4b38e94230 Add test data. 2013-04-26 09:17:20 +09:00
Kei Hibino
e598ef8936 Divide SQL keyword module into another package 'sql-words'.
--HG--
rename : schema-th/src/Language/SQL/SqlWord.hs => sql-words/src/Language/SQL/Keyword.hs
2013-04-24 20:38:42 +09:00
Kei Hibino
27812dd735 Update script for setting test environment up. 2013-04-22 10:06:52 +09:00
Kei Hibino
31194c2742 Revert to HDBC case template. 2013-04-16 00:29:52 +09:00
Kei Hibino
0827e67174 To remove dependency on toSql and fromSql combinators of HDBC. Persistable value is not record, so composed type is not overlap. 2013-04-15 18:52:16 +09:00
Kei Hibino
a7fbbd6c2c Rename persistable value record and add type class. 2013-04-15 16:48:29 +09:00
Kei Hibino
48c10bfd48 Divide abstract record type constraints definitions into DB-record module.
--HG--
rename : schema-th/src/Database/Record/FromSql.hs => DB-record/src/Database/Record/FromSql.hs
rename : schema-th/src/Database/Record/KeyConstraint.hs => DB-record/src/Database/Record/KeyConstraint.hs
rename : schema-th/src/Database/Record/Persistable.hs => DB-record/src/Database/Record/Persistable.hs
rename : schema-th/src/Database/Record/ToSql.hs => DB-record/src/Database/Record/ToSql.hs
2013-04-13 19:24:06 +09:00
Kei Hibino
014577815d Add Persistable instances for HDBC. 2013-04-13 19:22:01 +09:00
Kei Hibino
1d1cefbc19 Divide modules which does and does not depend on HDBC.
--HG--
rename : schema-th/src/Database/HDBC/Record/FromSql.hs => schema-th/src/Database/Record/FromSql.hs
rename : schema-th/src/Database/HDBC/Record/KeyConstraint.hs => schema-th/src/Database/Record/KeyConstraint.hs
rename : schema-th/src/Database/HDBC/Record/Persistable.hs => schema-th/src/Database/Record/Persistable.hs
rename : schema-th/src/Database/HDBC/Record/ToSql.hs => schema-th/src/Database/Record/ToSql.hs
2013-04-13 18:13:31 +09:00
Kei Hibino
a0a252af0a Add boolean binary operators. 2013-04-12 15:10:37 +09:00
Kei Hibino
c6ff5c215c Update definitions for test. 2013-03-29 21:19:50 +09:00
Kei Hibino
7a6d0516c2 Fix binop. 2013-03-29 21:19:26 +09:00
Kei Hibino
18848e2f27 Add binary operator as. 2013-03-29 14:17:48 +09:00
Kei Hibino
ddcd62ade1 Update sepBy combinators. 2013-03-29 14:14:33 +09:00
Kei Hibino
719180e268 Update module header document for TH. 2013-03-29 11:47:05 +09:00
Kei Hibino
7296b2d87f Add haddock module headers. 2013-03-27 18:34:36 +09:00
Kei Hibino
3c2b8e9b4e Add default-language field. 2013-03-27 18:25:37 +09:00
Kei Hibino
ac14bb4a1e Export key-constraint type synonyms. 2013-03-27 18:21:39 +09:00
Kei Hibino
78a8114036 Export DB2 Columns type construtor. 2013-03-27 18:20:50 +09:00
Kei Hibino
b77644d285 Add customized type mapping parameter to define record. 2013-03-27 17:49:10 +09:00