Kei Hibino
c018917a34
Implement instance for aggregation ordering terms.
2013-05-27 21:07:24 +09:00
Kei Hibino
1684d1efd9
Update example.
2013-05-27 20:02:45 +09:00
Kei Hibino
727151ee9d
Change boolean result operators type.
...
For nullable comparison result and tri-state bool cases.
2013-05-27 20:01:36 +09:00
Kei Hibino
359b513279
Integrate aggregated query into relation. Update examples!!
2013-05-27 18:56:16 +09:00
Kei Hibino
a61c5e7e0a
Add aggregate implementations.
2013-05-27 18:21:36 +09:00
Kei Hibino
caaa4b48d2
Add interfaces for aggregation building.
2013-05-27 18:17:17 +09:00
Kei Hibino
2769a6cd3f
Add Aggregation type distinguished from Projection type.
...
Add projection type (Aggregation) for aggregation
which is distinguished from not aggregated projection type (Projection).
2013-05-27 18:07:40 +09:00
Kei Hibino
5daf8a5f11
Add keywords for aggregations.
2013-05-27 17:56:22 +09:00
Kei Hibino
3eee1ad991
Pass '-Wall' to compiler.
2013-05-27 17:12:55 +09:00
Kei Hibino
ce5218af72
Fixed along with disabling unsafeMergeAnotherQuery.
2013-05-26 13:11:14 +09:00
Kei Hibino
d5a9b9ed58
Disable unsafeMergeAnotherQuery.
2013-05-26 03:33:40 +09:00
Kei Hibino
d955047186
Update example.
2013-05-26 03:22:26 +09:00
Kei Hibino
e38323c92e
Use poly unsafeSubQuery methods.
2013-05-26 02:53:40 +09:00
Kei Hibino
9e53e35697
Unsafe subquery method. Unsafe instance of Orderings.
2013-05-26 01:47:03 +09:00
Kei Hibino
30ee276d3b
Restrict method type signature to weaken unsafe method power.
2013-05-26 01:04:35 +09:00
Kei Hibino
cbffe9c1f2
Remove unused import.
2013-05-26 01:01:16 +09:00
Kei Hibino
7a4c44e8a3
Add comments.
2013-05-26 00:46:05 +09:00
Kei Hibino
a167aa3137
Renamed.
2013-05-25 17:20:35 +09:00
Kei Hibino
add84dd8dd
Rename context name.
2013-05-25 17:16:28 +09:00
Kei Hibino
d0e324371a
Use overloaded interface, Lifted query building monad.
...
Rename from QueryJoin into QuerySimple, and divide orderBys from
QuerySimple context and implemented polymorphic orderBys MonadTrans
which focuses aggregation query building.
2013-05-25 16:56:21 +09:00
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