Commit Graph

607 Commits

Author SHA1 Message Date
Kei Hibino
220cf82f3c Rename binary operators for Maybe types. 2013-08-15 18:14:08 +09:00
Kei Hibino
9705dc16ec Renamed function. 2013-08-15 18:12:03 +09:00
Kei Hibino
344a911b50 Rename new definition. Update to use new definition. 2013-08-15 18:06:30 +09:00
Kei Hibino
e184e5a1d8 Update haddocks. 2013-08-15 17:53:29 +09:00
Kei Hibino
cd4dd0a83a Generate typed update and delete from restrict only monad. 2013-08-15 16:48:30 +09:00
Kei Hibino
f83b5f1f4e Change from append style into prepend style.
--HG--
rename : relational-join/src/Database/Relational/Query/Monad/Trans/StateAppend.hs => relational-join/src/Database/Relational/Query/Monad/Trans/StatePrepend.hs
2013-08-14 18:16:13 +09:00
Kei Hibino
6d947a6960 Add functions to generate update and delete SQL. 2013-08-14 17:32:55 +09:00
Kei Hibino
6863b47ad4 Add only restrict context monad type. 2013-08-14 17:22:10 +09:00
Kei Hibino
00a0aebb18 Module renamed.
--HG--
rename : relational-join/src/Database/Relational/Query/Monad/Core.hs => relational-join/src/Database/Relational/Query/Monad/Type.hs
2013-08-14 14:21:36 +09:00
Kei Hibino
1ec5caba60 Update descriptions. 2013-08-14 12:35:11 +09:00
Kei Hibino
d2997f398e Function rename. 2013-08-14 02:46:45 +09:00
Kei Hibino
56772b7d60 Add function to get unqualified projection. 2013-08-14 02:44:15 +09:00
Kei Hibino
794a66e948 Move simple table SQL definition. 2013-08-14 02:34:47 +09:00
Kei Hibino
46f02ac8d6 Remove old SQL expand functions. 2013-08-14 02:09:17 +09:00
Kei Hibino
94089773ee Update aggregated query to use append style. 2013-08-14 02:02:56 +09:00
Kei Hibino
e34e964112 Use shared Append type to append WHERE and ORDER BY. 2013-08-14 01:33:42 +09:00
Kei Hibino
f8486a3434 Use shared Append type to append GROUP BY. 2013-08-14 01:10:34 +09:00
Kei Hibino
18e144ebab Rename defitions to append SQL clauses. 2013-08-14 00:56:42 +09:00
Kei Hibino
8653f9d008 Update to use append style generating select. 2013-08-14 00:05:03 +09:00
Kei Hibino
31c771f1ad Prepare to change expand result into append style. 2013-08-05 18:46:30 +09:00
Kei Hibino
cdc9d47cc3 Remove old code. 2013-08-05 16:57:54 +09:00
Kei Hibino
afb45a53b2 Type renamed. 2013-08-05 14:41:05 +09:00
Kei Hibino
d3f5e41f71 Module renamed.
--HG--
rename : relational-join/src/Database/Relational/Query/Internal/OrderingContext.hs => relational-join/src/Database/Relational/Query/Monad/Trans/OrderingState.hs
2013-08-05 12:34:38 +09:00
Kei Hibino
7ddc5e2e5d Module renamed.
--HG--
rename : relational-join/src/Database/Relational/Query/Internal/AggregatingContext.hs => relational-join/src/Database/Relational/Query/Monad/Trans/AggregateState.hs
2013-08-05 11:55:44 +09:00
Kei Hibino
ea9b8fac14 Module renamed.
--HG--
rename : relational-join/src/Database/Relational/Query/Internal/RestrictContext.hs => relational-join/src/Database/Relational/Query/Monad/Trans/RestrictState.hs
2013-08-05 11:12:55 +09:00
Kei Hibino
9f109c50f1 Automated merge with git://github.com/khibino/haskell-relational-record 2013-08-05 01:17:16 +09:00
Kei Hibino
9a2cf14846 Module renamed.
--HG--
rename : relational-join/src/Database/Relational/Query/Internal/Context.hs => relational-join/src/Database/Relational/Query/Monad/Trans/JoinState.hs
2013-08-05 01:17:04 +09:00
Shohei Murayama
3d0e3beece add an alternate version of union1 and remove redundant $ 2013-08-03 05:41:31 +09:00
Shohei Murayama
b5077e40d1 adding examples of HRR query 2013-08-03 03:56:28 +09:00
Kei Hibino
39e6bf75e8 Add Restrict monad transformer devided from QueryJoin. 2013-08-03 02:26:59 +09:00
Kei Hibino
b59cadcf1b Add MonadRestrict interface divided from MonadQuery. 2013-08-02 20:15:28 +09:00
Kei Hibino
590dfd9e79 Add new operator associativities. Update example. 2013-07-31 17:46:34 +09:00
Kei Hibino
547824547c Add operator to concatinate string. Support binary operators for Maybe values. 2013-07-31 17:31:03 +09:00
Kei Hibino
64da40991e Automated merge with git://github.com/khibino/haskell-relational-record 2013-07-31 16:18:45 +09:00
Kazu Yamamoto
23584b924d adding examples of SQL query. 2013-07-31 15:44:50 +09:00
Kei Hibino
e0b9ba2750 Remove showExpr from Query namespace. 2013-07-31 00:19:15 +09:00
Kei Hibino
21ddfe5524 unsafeShowSql definitions of projection type specified version. 2013-07-30 23:58:44 +09:00
Kazu Yamamoto
4fcb52d26b right usage. 2013-07-30 09:41:59 +09:00
Kei Hibino
e685f6488a Add Maybe derivation rule of ToSql type. 2013-07-29 15:46:00 +09:00
Kei Hibino
4885ebe91d Add not operator. 2013-07-29 14:04:17 +09:00
Kei Hibino
59d614b6ea Change default operators from for expressions to for projections. 2013-07-29 12:26:21 +09:00
Kei Hibino
832b492c9e Divide query class instafaces and query operators. 2013-07-29 11:50:10 +09:00
Kei Hibino
6e46a4f95d Add operators for expression projection. 2013-07-29 11:05:38 +09:00
Kei Hibino
8b59e7dd73 Update example for renamed definition. 2013-07-17 01:43:56 +09:00
Kei Hibino
01fda633b1 Rename and export methods to add restrictions using projection types. 2013-07-17 01:21:06 +09:00
Kei Hibino
a5486c237f Add methods to add restrictions using projection types. 2013-07-16 21:13:14 +09:00
Kei Hibino
bbd1cf1e92 Add identity projection path. 2013-07-16 20:54:32 +09:00
Kei Hibino
a8fe117c0d Update example. 2013-07-16 20:36:55 +09:00
Kei Hibino
ceb03425d7 Cleaning up around Expr. 2013-07-16 20:36:09 +09:00
Kei Hibino
ec7603e1eb Added tag sa-projection-20130705-tag for changeset fcae1f4bf927 2013-07-05 16:58:05 +09:00