Commit Graph

28 Commits

Author SHA1 Message Date
3662420339 dblayeroo : Add displayAdd empty tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5262 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-10 11:06:10 +00:00
45ffd3144e Update dblayeroo tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5167 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-22 14:10:28 +00:00
673b8ec609 dblayeroo : get the foreignUsed fields and tables
dblayeroo : get the primary key for PostgreSQL


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5038 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-02-15 08:03:10 +00:00
95f7b55681 dblayeroo : Add normalize method by default
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4631 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 08:32:58 +00:00
3e6c8714dc dblayeroo : update tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4628 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:35:00 +00:00
98d5a042fc Update test for dblayerooSQLite
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4293 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 09:38:14 +00:00
1756e8a42f dblayeroo : add listTables test
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4292 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 18:43:51 +00:00
daee67d401 dbayeroo : manage correctely the GROUP_CONCAT and the commas on string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4290 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 18:29:51 +00:00
e5c67e779e dblayeroo : Manage the GROUP_CONCAT in PgSQL without error of casting
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4289 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 15:49:57 +00:00
b18adcc441 dblayeroo : Add test for GROUPBY
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4287 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 08:06:23 +00:00
5deab3c430 dblayeroo : if there is only one displayed GROUP select, do not add an empty "GROUP BY" in SQL request. The request is invalid.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4286 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 06:48:14 +00:00
5560ab2943 dblayeroo : allow to orderAdd on aliases too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4285 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 06:07:09 +00:00
a80a51c862 dblayeroo: the post execute select must not convert a NULL to INT if a column definition is INTEGER
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4004 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-30 10:57:29 +00:00
425fd36d05 dblayeroo: Update tests to add DISTINCT in tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3945 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-12 18:51:01 +00:00
b0d215da1b Update dblayeroo Tests to check the insert return value correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3921 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 07:35:23 +00:00
439513f65d dblayeroo: manage correctely the PGSQL string_agg (instead of GROUP_CONCAT)
dblayeroo: Manage correctely the Aliases (do not emit Notice in execute)


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3899 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-08-04 08:03:14 +00:00
391eb9e83b dblayeroo : Update tests to be valid without the GROUP BY as they were in rev 3538
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3827 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-25 09:32:42 +00:00
e98686d91c dblayeroo: Update of multiple not unique fields should not be an exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3825 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-24 19:05:11 +00:00
643bce947a dblayeroo: Add alias support (AS) to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 13:21:17 +00:00
36de4b3600 dblayeroo: Add DISTINCT feature to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 09:50:42 +00:00
5e13a477b3 Update dblayeroo tests to supports PGSQL order
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3702 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 07:48:38 +00:00
1b55855df3 Update the DBLayeroo tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3660 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-12 19:52:41 +00:00
39d34965c0 * dblayeroo: allow to sort the ORDER statements (the first added is the first use)
* dblayeroo: allow to sort the Display statements (the first added is the first use)
* dblayeroo: change displayColumns to displayAdd


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3541 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 14:43:53 +00:00
48ce12accc dblayeroo : update to ORDER in the well known order
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3540 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 12:03:57 +00:00
b6b9573813 dblayeroo : review the join process and add the unit tests for it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3538 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 11:49:19 +00:00
ba093a14a2 Add more tests to dblayeroo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3502 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-10 14:33:52 +00:00
15d70bd3a9 dblayeroo : review the join process and add the unit tests for it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3495 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-03 15:06:03 +00:00
5c4f903987 * dblayeroo : add a new dblayer class. More OO, supports more options than dblayer
* fts : The Full Text Search module for dummies


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3459 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-27 07:42:18 +00:00