Commit Graph

2263 Commits

Author SHA1 Message Date
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
Kei Hibino
125610ec2e Export relationalVarExpDefault. 2013-05-14 16:12:24 +09:00
Kei Hibino
4481905e95 Update to use 'toVarExp'. 2013-05-14 16:03:11 +09:00
Kei Hibino
615d1dcd73 Add toVarExp and toVarPat. 2013-05-14 15:44:42 +09:00
Kei Hibino
0b41f05b62 Now, defineColumn defines not HasConstraintKey instance,
but Constraint.Key object.
2013-05-14 12:51:15 +09:00
Kei Hibino
64e0d0b0b0 Add TH functions to generate SQLs. 2013-05-14 02:41:24 +09:00
Kei Hibino
7e98380848 Move sample codes into another package.
--HG--
rename : schema-th/pgTest/PgTest.hs => relational-join-HDBC-pgTest/pgTest/PgTest.hs
rename : schema-th/pgTest/PgTestDataSource.hs => relational-join-HDBC-pgTest/pgTest/PgTestDataSource.hs
rename : schema-th/pgTest/runCreate.sh => relational-join-HDBC-pgTest/pgTest/runCreate.sh
rename : schema-th/pgTest/runDrop.sh => relational-join-HDBC-pgTest/pgTest/runDrop.sh
rename : schema-th/sample/1/Group.hs => relational-join-HDBC-pgTest/sample/1/Group.hs
rename : schema-th/sample/1/Membership.hs => relational-join-HDBC-pgTest/sample/1/Membership.hs
rename : schema-th/sample/1/README => relational-join-HDBC-pgTest/sample/1/README
rename : schema-th/sample/1/User.hs => relational-join-HDBC-pgTest/sample/1/User.hs
rename : schema-th/sample/1/create.sh => relational-join-HDBC-pgTest/sample/1/create.sh
rename : schema-th/sample/1/drop.sh => relational-join-HDBC-pgTest/sample/1/drop.sh
rename : schema-th/sample/1/querySample.hs => relational-join-HDBC-pgTest/sample/1/querySample.hs
2013-05-13 19:24:31 +09:00
Kei Hibino
78ce58e25b Add disable-tests flag to avoid dependency of test modules. 2013-05-13 19:08:04 +09:00
Kei Hibino
bc6c56fbff Update other modules list. 2013-05-13 18:58:14 +09:00
Kei Hibino
2b3dc5ff93 Update exposed module list. 2013-05-13 18:56:31 +09:00
Kei Hibino
c02845412d Update export list. 2013-05-13 18:29:01 +09:00
Kei Hibino
6e3165d738 Add TH functions which defines SQLs. 2013-05-13 18:24:37 +09:00
Kei Hibino
ec37d37d01 Add derived update SQLs. 2013-05-13 18:08:00 +09:00
Kei Hibino
a753436989 Add Show instances. 2013-05-13 18:04:25 +09:00
Kei Hibino
866f188bb2 Renamed. 2013-05-13 18:00:10 +09:00