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
ea8bbcf37b
dblayeroo: UPDATE should not verify if the unique are not modified
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3824 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-24 14:25:38 +00:00
1be12b297f
dblayeroo: Add IS NOT NULL operator to whereAdd
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3823 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-21 12:51:54 +00:00
9518419f25
dblayeroo: Update Alias support
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3822 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 14:17:15 +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
5223b529d1
dblayeroo: push the group_concat_max_len to maximum allowed
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3820 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-20 12:03:39 +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
db06724fa9
dblayeroo: in GROUP_CONCAT, allow the Separator to be set (use sqlite syntax, with a comma and the second optional parameter is the separator string)
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3818 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 14:11:28 +00:00
0ac0fa75a5
dblayeroo: whereAddParenthesisOpen: Add automatically AND before if there is no already defined operator
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3817 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 10:30:44 +00:00
88f394fb72
dblayeroo: whereAdd "IS NULL" : do not add the value as it doesn't exists
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3816 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 10:28:24 +00:00
3ad9d4be68
dblayeroo: add more details in case of error in development
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3815 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 07:02:01 +00:00
bf31012a81
Add Exception if MB support is not available in PHP
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-07-19 06:30:27 +00:00
5958dadc12
dblayeroo: remove not needed exception
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3794 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-30 09:34:04 +00:00
83955b2028
dblayeroo: verify foreign keys are skipped if update and the value is not provided
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3793 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-30 09:31:49 +00:00
f2e8763cc6
dblayeroo: supports foreign keys on multiple columns with syntax "col1,col2"
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3779 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-16 11:17:05 +00:00
076e5a6945
dblayeroo: do not remove the foreign objects when using clearRequest method
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3777 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-15 11:42:54 +00:00
8e97e5eb54
dblayeroo: getTableSchema for sqlite if no autoincrement field is defined, the sqlite_sequence table doesn't exists and must not crash the method
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3775 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-15 07:04:50 +00:00
b9f593c546
dblayeroo: syntax error in table creation for MySQL and PgSQL if multiple foreign keys are defined
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3755 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-06-13 05:51:18 +00:00
f17f6076e1
dblayeroo: the connect process need now the database name and generate an Exception if not provided in the DSN
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3725 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-24 08:47:54 +00:00
bb37b9200a
dblayeroo: check if table name and primary key is defined before verify an entry
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3707 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 17:55:07 +00:00
50e01cc20b
dblayeroo: autoincrement fields must be primary too
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3706 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 14:22:37 +00:00
dcf93e48a6
domci update
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3703 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-19 07:52:49 +00:00
2709c75040
dblayeroo : manage correctely the NULL values
...
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-05-11 12:01:35 +00:00
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