Commit Graph

277 Commits

Author SHA1 Message Date
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
Kei Hibino
3255b32bf3 Renaming outer and inner tag begins. 2013-05-17 21:53:18 +09:00
Kei Hibino
2d0d5a4493 Reduce dependency of SQL module. 2013-05-17 19:57:56 +09:00
Kei Hibino
811c95d31e Bugfix for simple table relation. 2013-05-17 19:55:52 +09:00
Kei Hibino
a0c7427028 Add a module get string result of concatination. 2013-05-17 19:17:50 +09:00
Kei Hibino
9da25a14f6 Move definition of stringMap. 2013-05-17 18:58:43 +09:00
Kei Hibino
45d631051a Specify associatibity of in' operator. 2013-05-17 18:54:51 +09:00
Kei Hibino
b59e5586fb Integrate signature of binary operators. 2013-05-17 18:51:34 +09:00
Kei Hibino
2711df6c0b Integrate binary operator signatures. 2013-05-17 18:40:55 +09:00
Kei Hibino
a7e1778b31 Add integrated module. 2013-05-17 18:29:50 +09:00
Kei Hibino
c4e21b3a5b Divide into two modules, type module and combinator module.
--HG--
rename : sql-words/src/Language/SQL/Keyword.hs => sql-words/src/Language/SQL/Keyword/Concat.hs
rename : sql-words/src/Language/SQL/Keyword.hs => sql-words/src/Language/SQL/Keyword/Type.hs
2013-05-17 15:40:00 +09:00
Kei Hibino
dd36268054 Update with renamed module. 2013-05-16 20:52:12 +09:00
Kei Hibino
615b8ae886 Add header text. Extra module is renamed.
--HG--
rename : names-th/src/Language/Haskell/TH/Name/Extra.hs => names-th/src/Language/Haskell/TH/Lib/Extra.hs
2013-05-16 19:03:46 +09:00
Kei Hibino
f896b30641 Remove language extension flags not used. 2013-05-16 18:53:26 +09:00
Kei Hibino
0219417e7b Use operators defined in Language.SQL.Keyword. 2013-05-16 18:40:23 +09:00
Kei Hibino
497ccb1bac Add header document. Add keyword 'IN' and binary operator. 2013-05-16 18:23:08 +09:00
Kei Hibino
046952f390 Update description and debianization. 2013-05-16 18:01:49 +09:00
Kei Hibino
b35f165b7d Update description and debianizations. 2013-05-16 17:38:34 +09:00
Kei Hibino
82dad66871 Now, use relational join to query PostgreSQL system catalogs. Fix mapping to special char type. 2013-05-16 16:29:32 +09:00
Kei Hibino
fa205b3381 Update with renamed TH function. 2013-05-16 16:01:14 +09:00
Kei Hibino
3ba25c618f Add ShowConstantSQL instance for Char DB special type. 2013-05-16 15:03:45 +09:00
Kei Hibino
dc17e931c0 Remove a needless import. 2013-05-16 14:49:59 +09:00
Kei Hibino
5e2c8d9927 Update default not null instances list. 2013-05-16 14:46:54 +09:00
Kei Hibino
d7e1c08ba2 Add values, in' and isNull. 2013-05-16 12:41:24 +09:00
Kei Hibino
5fb1bf60eb Update integrated Query module. 2013-05-16 02:03:33 +09:00
Kei Hibino
642733712a Add Projectable overloadings and defines binary operators on Projectables. 2013-05-16 01:59:54 +09:00
Kei Hibino
951d281327 Place-holder type propagation. 2013-05-16 00:13:34 +09:00
Kei Hibino
6d2a2b89b7 Now, use relational join to query DB2 system catalog. 2013-05-15 18:08:28 +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
222a94a254 Update for renamed package. 2013-05-15 15:27:31 +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
Kei Hibino
0f273db87c Add moved schema query code for postgreSQL. 2013-05-15 14:59:26 +09:00
Kei Hibino
83651702ac Add simple TConSet implementation. 2013-05-15 14:50:16 +09:00
Kei Hibino
0681a2ccbf Divide code required only in compile time.
--HG--
rename : schema-th/src/Database/HDBC/Record/TH.hs => schema-th/src/Database/HDBC/Record/InternalTH.hs
2013-05-15 14:15:35 +09:00
Kei Hibino
c060ea3625 Move schema query code for postgreSQL which does not depend on HDBC. 2013-05-15 14:02:08 +09:00
Kei Hibino
cda839431f Move schema query for DB2 which does not depend on HDBC. 2013-05-15 12:06:08 +09:00
Kei Hibino
b3113aab98 Basic PersistableWidth instances. 2013-05-15 10:48:30 +09:00
Kei Hibino
e731a0ea16 Move system catalog schemas into relational-join package which doesn't depend on HDBC.
--HG--
rename : schema-th/src/Database/HDBC/Schema/PgCatalog/PgAttribute.hs => relational-join/src/Database/Relational/Schema/PgCatalog/PgAttribute.hs
rename : schema-th/src/Database/HDBC/Schema/PgCatalog/PgType.hs => relational-join/src/Database/Relational/Schema/PgCatalog/PgType.hs
2013-05-15 01:10:06 +09:00
Kei Hibino
4c449348df Add .cabal for test code package. 2013-05-14 23:48:33 +09:00
Kei Hibino
0d600604f3 Add TH functions which defines Persistable instances from defined record type. 2013-05-14 23:47:24 +09:00
Kei Hibino
9fb5446b0e Remove SQL value type dependency in Relational.Query.TH. 2013-05-14 20:28:13 +09:00
Kei Hibino
8107f5191d Divide TH functions which depends on SQL value type of not. 2013-05-14 20:10:26 +09:00
Kei Hibino
0166f7c459 Update haddocks. 2013-05-14 19:16:08 +09:00
Kei Hibino
7f34dde5cd Rename TH functions. 2013-05-14 19:05:20 +09:00
Kei Hibino
64c306ab6b Move TH functions into relational-join which does not depends on HDBC. 2013-05-14 18:34:26 +09:00
Kei Hibino
789aa43df2 Cleaning TH functions not to depends on SqlValue type. 2013-05-14 18:01:45 +09:00
Kei Hibino
b898ad9e64 Update to use SQL TH functions defined in relational-record. 2013-05-14 17:40:57 +09:00
Kei Hibino
661236c3f8 Add TH functions to define HasConstraintKey instances. 2013-05-14 16:49:47 +09:00
Kei Hibino
b8162c7e8a Renamed. 2013-05-14 16:16:00 +09:00