6348103e75
dblayeroo : remove not needed debug
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3639 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 08:36:44 +00:00
0785f07d92
dblayeroo : after cleaning all the child objects, remove the instances
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3638 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 08:35:41 +00:00
f932529077
dblayeroo: catch the exception in prepare request and manage it in DBException
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3637 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 08:23:25 +00:00
c67658f1fe
dblayeroo : add stacktrace in debug if exception
...
dblayeroo : clear all the join objects if clear request is called
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3636 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 07:58:44 +00:00
d294809cba
dblayeroo : update for GROUP BY
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3634 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 13:39:21 +00:00
6461fbd63c
dblayeroo : Missing $pos
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3633 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 12:46:40 +00:00
2b17459b65
Add the GROUP BY part in the SQL request
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3632 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 12:40:26 +00:00
feb1c4096d
- dblayeroo: Add the GROUP BY feature and the function support
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3631 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-10 12:38:01 +00:00
9a47e3867c
dblayeroo: do not test the foreign keys in update mode if the value is not provided
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3574 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 14:22:47 +00:00
a3cceef004
dblayeroo: Manage correctely the test of the dblayeroo class in Join case
...
dblayeroo: Manage correctely the WHERE clause in join mode
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3573 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 12:16:26 +00:00
4e65cbe987
dblayeroo: display the titles with the table name if the funll option is set or if a joinObject is defined
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3572 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 08:03:40 +00:00
8da8666dbb
dblayeroo: allow to join with extends of dblayeroo
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3571 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-04 07:00:58 +00:00
7706e2da71
dblayeroo: if a parameter is not valid, do not use it!
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3570 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 19:42:17 +00:00
ccb0fb8385
dblayeroo: update exception message to add the table name
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3568 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 19:01:56 +00:00
0f6f269ede
dblayeroo: missing # in regex
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3567 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 14:43:23 +00:00
0df7e1bded
dblayeroo: allow the primary key to be the unique key (and the unique is not defined)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3564 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 08:02:06 +00:00
790fe6b703
dblayeroo: if the primary key is defined, the unique are not mandatory
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3563 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-03 07:59:47 +00:00
029bb0beb5
dblayeroo: allow to extends it. Add a connect class instead of the constructor
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3561 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-02 09:57:40 +00:00
120d769656
dblayeroo: add return $this to setForeignObj
...
dblayeroo: manage correctely the foreign keys
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3558 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-02 08:53:28 +00:00
014d07c91f
dblayeroo: force the parameters of the fields in lowercase
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3557 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 14:18:13 +00:00
dadd4f1d9e
- dblayeroo: Add a export configuration feature to return an array with all the defined parameters
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3556 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 13:17:33 +00:00
73a4f0edb1
dblayeroo: the old displayColumn was bad written
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3553 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-28 06:46:18 +00:00
89be15802b
dblayeroo: Remove tinyint support cause not available in PSQL
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3552 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-27 12:47:06 +00:00
2f0abcd139
dblayeroo: add tinyint field type
...
dblayeroo: Do not allow autoincrement if the field is not integer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3551 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-27 12:41:15 +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
152cd7048f
dblayeroo : update for solve domci errors
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3539 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-25 11:54:19 +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
56cbeaa891
dblayeroo : manage correctely the columns names in joins
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3501 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-10 14:33:38 +00:00
0172aad420
dblayeroo : valid the select without the table name. Regression introduced last commit
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3496 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-04-04 17:31:05 +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
3f44445ede
dblayeroo: Accept only one setValues
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3481 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-03-29 12:40:30 +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