Commit Graph

230 Commits

Author SHA1 Message Date
Kei Hibino
b193997ea7 Update along with deprecation. 2014-12-09 23:34:53 +09:00
Kei Hibino
6e1e5f689c Update to build merged SQLite3 driver. 2014-12-09 23:31:33 +09:00
Kei Hibino
112dde9ace Merge SQLite3 driver. 2014-12-09 23:13:44 +09:00
Kei Hibino
552c15f010 Update along with deprecation. 2014-12-09 22:30:57 +09:00
Kei Hibino
271c2931d5 Update to build merged SQLServer driver. 2014-12-09 22:30:23 +09:00
Kei Hibino
4a01da3e8a Update info of authors. 2014-12-09 22:11:38 +09:00
Kei Hibino
003276a3b0 Merge MS SQLServer driver. 2014-12-09 22:10:19 +09:00
Kei Hibino
9038805fa4 Update export list. 2014-12-09 14:18:35 +09:00
Kei Hibino
c38a2778ef Pass configuration to model generators. 2014-12-09 14:13:55 +09:00
Kei Hibino
b5e74cb13a Add definition to get insert action list. 2014-12-08 16:44:48 +09:00
Kei Hibino
73def34015 Add chunksInsert. 2014-12-08 13:09:10 +09:00
Kei Hibino
edb8658744 Divide definition of persistable templates not depending on sql-value type. 2014-12-06 15:57:43 +09:00
krdlab
00a2c75d1a Add aggregate samples 2014-12-03 09:26:28 +09:00
krdlab
672a803d83 Change upper-versions of some packages 2014-12-03 00:55:29 +09:00
Kei Hibino
38d01cd02c Update column template definitions using column offsets array. 2014-10-12 03:31:42 +09:00
Kei Hibino
305e0b2e06 Divide pure lookup and warning Q computation. 2014-10-10 20:37:06 +09:00
Kei Hibino
dc7beb9803 Add no primary key warning message. 2014-10-10 20:23:08 +09:00
Kei Hibino
692bb7ea70 Use new compile message report functions. 2014-10-10 20:21:41 +09:00
Kei Hibino
98860b4bff Use reportMessage function. 2014-10-10 20:06:45 +09:00
Kei Hibino
4524c54c90 Use Q monad and IO moand fail in templates. 2014-10-10 18:46:52 +09:00
Kei Hibino
662f26d774 Simply use 'fail' to put messages to be handled by ghc. 2014-10-10 16:15:52 +09:00
Kei Hibino
4702b1080f Simplify. 2014-10-09 17:31:18 +09:00
Kei Hibino
528dbc8f59 Simplify. 2014-10-09 17:00:14 +09:00
Kei Hibino
4c96f3f5c8 Simplify. 2014-10-09 16:35:41 +09:00
Kei Hibino
8f2f932414 Update along with deprecations. 2014-10-09 14:59:57 +09:00
Kei Hibino
28fe9efeb5 Re-order imports. 2014-10-08 20:12:20 +09:00
Kei Hibino
13fb0f9bec Fix internal index of column projection path. 2014-09-19 19:07:31 +09:00
krdlab
bb83384388 Add getFieldsWithMap tests 2014-08-17 08:30:46 +09:00
krdlab
efba911d20 Fix primaryKeyQuerySQL bug 2014-08-17 06:42:54 +09:00
krdlab
480756f3a2 Remove withRTSSignalsBlocked call on example (test MySQL 5.6.x) 2014-08-16 15:13:46 +09:00
krdlab
0be1621fa4 Add very simple tests (close #3) 2014-08-16 13:56:03 +09:00
krdlab
93ab8a40cb Modify example usage 2014-08-16 12:07:14 +09:00
krdlab
78beb095f8 Fix typo 2014-08-16 12:00:41 +09:00
krdlab
4d4cc6e12e Update README and example 2014-08-16 11:18:14 +09:00
Kei Hibino
37ab330b5c Remove debian directories with using odebuild. 2014-08-13 17:48:45 +09:00
Kei Hibino
3484b80506 Update internal names. 2014-07-30 20:26:20 +09:00
Kei Hibino
e8b32363f4 Remove old singleton wrap module. 2014-07-29 13:47:22 +09:00
Kei Hibino
011e77875a Simplify dependencies. 2014-07-29 12:19:14 +09:00
Kei Hibino
317bd58cc9 Fix persistable width template for nested case. 2014-07-23 22:36:57 +09:00
Kei Hibino
79586fb577 Add column projection into TH expanded from defined record type. 2014-05-24 01:16:12 +09:00
Kei Hibino
3be273fe2e Indentation. 2014-05-22 23:23:11 +09:00
amutake
8043030bc1 Make the example compatible with current hrr 2014-05-15 10:36:17 +09:00
Kei Hibino
5a77e6d5c6 Use raw SQL string definitions to keep simple package dependencies. 2014-05-13 15:38:09 +09:00
amutake
8873268376 Reproduce #6 2014-05-13 14:07:52 +09:00
amutake
3421fa27bd NoBuffering in example 2014-05-13 14:07:52 +09:00
Kei Hibino
480c8f8438 Add a merged namespace module. 2014-04-23 16:29:47 +09:00
Kei Hibino
c95b1b72cc Add verify message. 2014-04-12 03:00:23 +09:00
Kei Hibino
c9057b6da6 Add inlineVerifiedQuery. 2014-04-12 02:17:48 +09:00
Kei Hibino
74edee9fd3 Concrete versions of mapNoFetch. 2014-03-18 13:14:27 +09:00
Kei Hibino
94e51c51ee Apply polymorphic implementation to each no-fetch statement types. 2014-03-18 13:05:23 +09:00
Kei Hibino
fc21d220dd Update haddock. 2014-03-18 13:04:08 +09:00
Kei Hibino
28b446ec44 Polymorphic version of no-fetch statement running sequence. 2014-03-18 12:58:40 +09:00
Kei Hibino
e84b857ec5 Fix indentaion. 2014-03-18 10:14:05 +09:00
krdlab
2beb05d746 Fix SQL error when trying to run compile-time code 2014-02-24 00:26:16 +09:00
krdlab
5e392d8c7c Change sample queries in the example 2014-02-21 18:19:11 +09:00
krdlab
e3a2f80bfd Update example 2014-02-21 01:12:36 +09:00
krdlab
556d98e739 Rename DataSource and User files in the example project 2014-02-18 02:12:12 +09:00
Kei Hibino
5c73783ce1 Update persistable template to generate with product constructor. 2014-02-17 21:42:17 +09:00
Kei Hibino
4abbc37309 Generate persistable templates from type name TH symbol. 2014-02-16 14:33:47 +09:00
Kei Hibino
a888394866 Generate persistable templates from type name TH symbol. 2014-02-16 14:25:04 +09:00
Kei Hibino
c9fed4dc22 Generate persistable templates from type name TH symbol. 2014-02-15 21:53:30 +09:00
Kei Hibino
01be883bd0 Generate persistable templates from type name TH symbol. 2014-02-15 21:48:06 +09:00
Kei Hibino
bd8343df3f Renamed. 2014-02-15 00:58:09 +09:00
Kei Hibino
4a477a2af4 Export definition to generate persistable templates. 2014-02-15 00:51:15 +09:00
Kei Hibino
1d6b84c724 Rename APIs of persistable record templates. 2014-02-15 00:44:27 +09:00
Kei Hibino
17e4e614da Fix haddock typos. 2014-02-14 23:52:29 +09:00
Kei Hibino
fd5848f3a0 Update along with defined record type new interfaces. 2014-02-14 22:11:03 +09:00
Kei Hibino
039f5ad0ed Update along with weaken record width interface. 2014-02-14 21:23:43 +09:00
Kei Hibino
7e7850af26 Add InsertQuery execute sequence. 2014-01-25 16:24:27 +09:00
Kei Hibino
5a76e71e8b Update default instance templates. 2014-01-05 22:44:55 +09:00
Kei Hibino
47fae51541 Update debianization. 2013-12-26 01:30:46 +09:00
Kei Hibino
8cce57b2db Update dependency along with divided packages. 2013-12-26 01:17:47 +09:00
krdlab
74c41dd1e5 Update "build-depends" 2013-12-25 22:00:13 +09:00
krdlab
3a0acebcb0 Add support of basic data types 2013-12-22 15:34:28 +09:00
krdlab
ad0b915274 Format 2013-12-22 14:46:32 +09:00
krdlab
e22d8e8b6b Modify example 2013-12-22 14:27:46 +09:00
krdlab
a0aca19705 prototype 2013-12-21 14:13:44 +09:00
Kei Hibino
226d38a307 Update debianization along with package renames. 2013-12-20 17:22:08 +09:00
Kei Hibino
e32e482691 Rename package name from relational-join into relational-query. 2013-12-20 08:38:46 +09:00
Kei Hibino
939f1fc226 Rename package name from DB-record into persistable-record.
--HG--
rename : DB-record/GNUmakefile => persistable-record/GNUmakefile
rename : DB-record/LICENSE => persistable-record/LICENSE
rename : DB-record/Setup.hs => persistable-record/Setup.hs
rename : DB-record/debian/changelog => persistable-record/debian/changelog
rename : DB-record/debian/compat => persistable-record/debian/compat
rename : DB-record/debian/control => persistable-record/debian/control
rename : DB-record/debian/copyright => persistable-record/debian/copyright
rename : DB-record/debian/rules => persistable-record/debian/rules
rename : DB-record/debian/source/format => persistable-record/debian/source/format
rename : DB-record/debian/watch => persistable-record/debian/watch
rename : DB-record/DB-record.cabal => persistable-record/persistable-record.cabal
rename : DB-record/src/Database/Record.hs => persistable-record/src/Database/Record.hs
rename : DB-record/src/Database/Record/FromSql.hs => persistable-record/src/Database/Record/FromSql.hs
rename : DB-record/src/Database/Record/Instances.hs => persistable-record/src/Database/Record/Instances.hs
rename : DB-record/src/Database/Record/KeyConstraint.hs => persistable-record/src/Database/Record/KeyConstraint.hs
rename : DB-record/src/Database/Record/Persistable.hs => persistable-record/src/Database/Record/Persistable.hs
rename : DB-record/src/Database/Record/Singleton.hs => persistable-record/src/Database/Record/Singleton.hs
rename : DB-record/src/Database/Record/TH.hs => persistable-record/src/Database/Record/TH.hs
rename : DB-record/src/Database/Record/ToSql.hs => persistable-record/src/Database/Record/ToSql.hs
2013-12-20 01:32:12 +09:00
amutake
c8e742db50 Add an example 2013-10-22 14:58:51 +09:00
amutake
371ebc7e4a Fix bug of getPrimaryKey 2013-10-09 19:44:13 +09:00
amutake
2c5ccec0a6 Rename OracleSyscat -> OracleDataDictionary 2013-10-09 19:35:46 +09:00
amutake
5cee868e72 Prototype 2013-10-09 19:20:26 +09:00
Kei Hibino
a60733b867 Expire redundant codes. 2013-09-28 16:01:17 +09:00
Kei Hibino
17315cc56c Update along with flipped arguments of runQuery. 2013-09-25 23:33:32 +09:00
Kei Hibino
2a5b93bf4b Update along with flipped arguments of runQuery. 2013-09-25 23:33:10 +09:00
Kei Hibino
9709ba1296 Flip arguments of runQuery. 2013-09-25 22:20:46 +09:00
Kei Hibino
e98b092ab6 Flip arguments of run functions for SQLs. 2013-09-25 19:18:39 +09:00
Kei Hibino
9020dfb0ec Flip arguments of runPreparedKeyUpdate. 2013-09-25 18:17:39 +09:00
Kei Hibino
f368588d71 Flip arguments of runPrepared*. 2013-09-25 18:00:09 +09:00
Kei Hibino
16acbcf3ef Weaken too strong constraint. 2013-08-23 16:09:51 +09:00
Kei Hibino
0f12d49034 Fix around inconsistent Update specs. 2013-08-22 18:35:09 +09:00
Kei Hibino
9beef6c3da Add typed key update sequence. 2013-08-18 04:25:29 +09:00
Kei Hibino
13dd8bc1c5 Update haddocks. 2013-08-18 03:07:33 +09:00
Kei Hibino
c0e763da6f Add typed update sequence. 2013-08-18 02:22:35 +09:00
Kei Hibino
51fd06a42a Update haddocks. 2013-08-18 02:13:56 +09:00
Kei Hibino
61a0cbdd3d Remove redundant definitions. 2013-08-18 02:12:07 +09:00
Kei Hibino
77ed3f9344 Add typed delete running sequence.
--HG--
rename : relational-query-HDBC/src/Database/HDBC/Record/Insert.hs => relational-query-HDBC/src/Database/HDBC/Record/Delete.hs
2013-08-15 23:43:47 +09:00
Kei Hibino
c3e42ca995 Add typed insert sequence. 2013-08-15 20:41:47 +09:00
Kei Hibino
656b964dfa Revert to fix build. 2013-08-15 19:26:57 +09:00
Kei Hibino
e184e5a1d8 Update haddocks. 2013-08-15 17:53:29 +09:00
Shohei Murayama
f6847a07c0 reconsidered which functions should be exported 2013-07-01 12:45:01 +09:00
Shohei Murayama
3ea5586c21 added support for composite primary keys 2013-07-01 11:31:54 +09:00
Shohei Murayama
5f4bcf8c51 added test scripts 2013-07-01 11:30:16 +09:00
Shohei Murayama
2f2d1807b5 renamed a binding 2013-07-01 11:28:15 +09:00
Shohei Murayama
e38e0b8ca2 fixed the issue of comparing the column names retrieved from table_info without normalization 2013-06-29 02:33:03 +09:00
Shohei Murayama
f18b983d09 added support for composite primary keys 2013-06-28 23:16:54 +09:00
Kei Hibino
fccffe406a Update to get composite primary key from PostgreSQL system catalog. 2013-06-28 18:03:19 +09:00
Kei Hibino
d5cd188143 Update driver interface to get composite primary key infos. 2013-06-27 14:48:31 +09:00
Shohei Murayama
e51519ab11 followed the change of module name 2013-06-26 18:23:18 +09:00
Shohei Murayama
7a7fa2b9b6 followed the change of module name 2013-06-26 18:22:36 +09:00
Kei Hibino
c8d51aa1be Renamed.
--HG--
rename : relational-query-HDBC/src/Database/HDBC/TH.hs => relational-query-HDBC/src/Database/HDBC/Query/TH.hs
2013-06-26 15:31:09 +09:00
Kei Hibino
916a1de50a Add document of HDBC drivers. 2013-06-26 15:08:15 +09:00
Kei Hibino
fec96c6deb Add document of HDBC TH functions for relational-join. 2013-06-26 15:00:37 +09:00
Kei Hibino
b1a97466a0 Add document of HDBC instance definitions for DB-recrod. 2013-06-26 14:50:18 +09:00
Kei Hibino
0dbe587cbe Add document of HDBC TH definition for DB-recrod. 2013-06-26 14:43:23 +09:00
Kei Hibino
26ada3054c Add document of typed HDBC query sequence. Function arguments. 2013-06-26 14:00:12 +09:00
Kei Hibino
50575c3c5e Add document of typed HDBC query sequence. Update fetchUnique. 2013-06-26 11:48:44 +09:00
Kei Hibino
bad52df2f4 Add document of typed HDBC query. 2013-06-22 17:12:03 +09:00
Kei Hibino
ef9641ee02 Add document of schema driver interface via HDBC. 2013-06-22 14:33:18 +09:00
Kei Hibino
cbd5cd0221 Now, TH functions of relational-join can deal with composite keys! 2013-06-20 15:59:35 +09:00
Shohei Murayama
d3d1009e82 create repository 2013-06-10 22:10:27 +09:00
Kei Hibino
2dde3d0606 Rename unsafe functions. 2013-06-03 01:06:19 +09:00
Kei Hibino
9ab641aea2 Pass '-Wall' switch to GHC. 2013-05-30 00:44:40 +09:00
Shohei Murayama
922d91c3e2 create repository 2013-05-26 20:56:29 +09:00
Kei Hibino
dd36268054 Update with renamed module. 2013-05-16 20:52:12 +09:00
Kei Hibino
fa205b3381 Update with renamed TH function. 2013-05-16 16:01:14 +09:00
Kei Hibino
96d14cbbaf Add TH function to specify NotNull constraint for singleton values. 2013-05-15 16:29:17 +09:00
Kei Hibino
06dfdd6014 Rename HDBC-schema-th package and update dependencies.
--HG--
rename : schema-th/GNUmakefile => relational-query-HDBC/GNUmakefile
rename : schema-th/LICENSE => relational-query-HDBC/LICENSE
rename : schema-th/Setup.hs => relational-query-HDBC/Setup.hs
rename : schema-th/debian/changelog => relational-query-HDBC/debian/changelog
rename : schema-th/debian/compat => relational-query-HDBC/debian/compat
rename : schema-th/debian/control => relational-query-HDBC/debian/control
rename : schema-th/debian/copyright => relational-query-HDBC/debian/copyright
rename : schema-th/debian/rules => relational-query-HDBC/debian/rules
rename : schema-th/debian/source/format => relational-query-HDBC/debian/source/format
rename : schema-th/debian/watch => relational-query-HDBC/debian/watch
rename : schema-th/HDBC-schema-th.cabal => relational-query-HDBC/relational-query-HDBC.cabal
rename : schema-th/src/Database/HDBC/Record/InternalTH.hs => relational-query-HDBC/src/Database/HDBC/Record/InternalTH.hs
rename : schema-th/src/Database/HDBC/Record/Persistable.hs => relational-query-HDBC/src/Database/HDBC/Record/Persistable.hs
rename : schema-th/src/Database/HDBC/Record/Query.hs => relational-query-HDBC/src/Database/HDBC/Record/Query.hs
rename : schema-th/src/Database/HDBC/Record/Singleton.hs => relational-query-HDBC/src/Database/HDBC/Record/Singleton.hs
rename : schema-th/src/Database/HDBC/Record/TH.hs => relational-query-HDBC/src/Database/HDBC/Record/TH.hs
rename : schema-th/src/Database/HDBC/Schema/Driver.hs => relational-query-HDBC/src/Database/HDBC/Schema/Driver.hs
rename : schema-th/src/Database/HDBC/Schema/IBMDB2.hs => relational-query-HDBC/src/Database/HDBC/Schema/IBMDB2.hs
rename : schema-th/src/Database/HDBC/Schema/PostgreSQL.hs => relational-query-HDBC/src/Database/HDBC/Schema/PostgreSQL.hs
rename : schema-th/src/Database/HDBC/SqlValueExtra.hs => relational-query-HDBC/src/Database/HDBC/SqlValueExtra.hs
rename : schema-th/src/Database/HDBC/TH.hs => relational-query-HDBC/src/Database/HDBC/TH.hs
2013-05-15 15:24:19 +09:00