Commit Graph

425 Commits

Author SHA1 Message Date
Kei Hibino
546d416523 Add overloaded interfaces for query building monads. 2013-05-25 16:23:11 +09:00
Kei Hibino
f7e74fc4a0 Divide module core monad structure and relation types. 2013-05-24 15:13:38 +09:00
Kei Hibino
ddccfed0c7 Join module is renamed to prepare extend query-building monad.
--HG--
rename : relational-join/src/Database/Relational/Query/Join.hs => relational-join/src/Database/Relational/Query/Monad/Core.hs
2013-05-24 12:34:38 +09:00
Kei Hibino
1bc4f48272 Add a simple makefile for batch install. 2013-05-24 10:47:33 +09:00
Kei Hibino
e7f97a2868 Update example. 2013-05-24 10:46:08 +09:00
Kei Hibino
b50bcfc2f0 Add small module for ShowS. 2013-05-24 10:23:04 +09:00
Kei Hibino
8ba917e65a Add function from QueryJoin into SubQuery. 2013-05-23 18:25:51 +09:00
Kei Hibino
9a3e990459 Rename functions which expand relation into SQL string. 2013-05-23 17:10:23 +09:00
Kei Hibino
04c0848370 Rename type class and method names. 2013-05-23 14:52:49 +09:00
Kei Hibino
be58f8e69a Update examples. 2013-05-23 14:27:08 +09:00
Kei Hibino
28b0987ea8 Add piMaybeFlatten. 2013-05-23 14:26:55 +09:00
Kei Hibino
3db40de6c7 Re-order definitions. 2013-05-22 17:08:02 +09:00
Kei Hibino
e147519f8e Fix inconsistent definition. 2013-05-22 17:07:35 +09:00
Kei Hibino
63caf22a7c Simplify. 2013-05-22 15:54:35 +09:00
Kei Hibino
28720f20c3 Renamed. 2013-05-22 15:34:54 +09:00
Kei Hibino
09e385c1b4 Use transformers library. 2013-05-22 14:04:13 +09:00
Kei Hibino
bcaa16f77b Renamed. 2013-05-22 12:05:12 +09:00
Kei Hibino
ea1f2aa153 Use dlist instead of revlist. 2013-05-21 23:34:15 +09:00
Kei Hibino
bbda51b11d Update example (only comment). 2013-05-21 19:09:34 +09:00
Kei Hibino
0ceebca6ee Add join operators, but I have no good idea how 'on' restriction is denoted. 2013-05-21 19:08:24 +09:00
Kei Hibino
780af9d7d2 FIx to block record update. 2013-05-21 17:25:00 +09:00
Kei Hibino
01867542ac Move AliasId module into internal namespace.
--HG--
rename : relational-join/src/Database/Relational/Query/AliasId.hs => relational-join/src/Database/Relational/Query/Internal/AliasId.hs
2013-05-21 17:15:51 +09:00
Kei Hibino
1722d50d25 Move Product module into internal namespace.
--HG--
rename : relational-join/src/Database/Relational/Query/Product.hs => relational-join/src/Database/Relational/Query/Internal/Product.hs
2013-05-21 17:03:45 +09:00
Kei Hibino
d8b16f00fd Update examples. 2013-05-21 16:44:17 +09:00
Kei Hibino
442b16ea5b Integrated methods for zip projection and maybe types. 2013-05-21 16:43:56 +09:00
Kei Hibino
98af8b417b Remove unsafeFromJust and add flattenMaybe. 2013-05-21 15:54:40 +09:00
Kei Hibino
0dd3915711 Cleaning interface for QueryJoin Monad Context. 2013-05-21 14:39:25 +09:00
Kei Hibino
ee37c12afc Remove unused types. 2013-05-21 11:47:32 +09:00
Kei Hibino
3d96172c34 Rename internal functions. 2013-05-21 11:35:21 +09:00
Kei Hibino
9b44ed6280 Remove old unused codes. 2013-05-21 11:19:14 +09:00
Kei Hibino
bcd05bd348 Update example. 2013-05-21 10:56:08 +09:00
Kei Hibino
9cad683fd6 Change definition of Relation type. 2013-05-21 01:22:47 +09:00
Kei Hibino
1cb1dc315f Prepare to change definition of Relation. 2013-05-20 22:23:42 +09:00
Kei Hibino
9abe7ef29f Change product structure. 2013-05-20 19:20:00 +09:00
Kei Hibino
a73c5a1d3d Preparing to change product structure. Use growLeft interface. 2013-05-20 17:59:29 +09:00
Kei Hibino
7b41128a0a Update interfaces of Product module. 2013-05-20 17:25:17 +09:00
Kei Hibino
17d94d6455 Preparing to change product structure. 2013-05-20 17:09:01 +09:00
Kei Hibino
76054cd69f Renamed. 2013-05-20 16:18:50 +09:00
Kei Hibino
697be129f7 Divide context module from join module.
--HG--
rename : relational-join/src/Database/Relational/Query/Join.hs => relational-join/src/Database/Relational/Query/Internal/Context.hs
2013-05-20 15:51:37 +09:00
Kei Hibino
c03b078534 Allow merge when empty left case. 2013-05-20 10:55:57 +09:00
Kei Hibino
f9f12e2ab3 Update example. 2013-05-20 07:45:45 +09:00
Kei Hibino
da42195194 Add implementation which directly merge QueryJoin monads. 2013-05-20 07:44:08 +09:00
Kei Hibino
63c2c387b9 Export Projection type constructer from integrated Query module. 2013-05-19 14:59:15 +09:00
Kei Hibino
827cf74660 Add 'just' for Projection. 2013-05-19 14:57:06 +09:00
Kei Hibino
d202a5700a Use ConcatString module. 2013-05-18 12:14:56 +09:00
Kei Hibino
ff1ce8f787 Update example. 2013-05-18 12:00:53 +09:00
Kei Hibino
53e20120b2 Rename function to get maybe record from SQL. 2013-05-18 09:48:27 +09:00
Kei Hibino
7c1598d85b Rename internal query. 2013-05-18 09:05:07 +09:00
Kei Hibino
967969a7bb Rename query functions. 2013-05-18 00:25:58 +09:00
Kei Hibino
5bac7ea830 Rename functions to lift phamtom type into Maybe. 2013-05-18 00:11:26 +09:00