Commit Graph

131 Commits

Author SHA1 Message Date
9ae8147bbd dblayeroo : getTableSchema was wrong if multiple tables have identical field name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5998 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-05-26 20:22:26 +00:00
0ba1f17601 dblayeroo : debugLog must have the priority
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5510 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-19 13:05:35 +00:00
7337eb2b38 dblayeroo : Transactions actions are now logged in meta like other SQL commands
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5506 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-19 07:59:01 +00:00
1ce13524c0 dblayeroo : backtrace class must not be added to root
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5494 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-17 12:16:10 +00:00
2e0d9ae129 dblayeroo : debugLog must have two parameters
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5488 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-17 09:59:42 +00:00
affa15e365 dblayeroo : debugLog is now with priority parameter
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5485 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-17 08:15:11 +00:00
0f6ddcd7ae dblayeroo : allow to log with priority
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5483 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-09-16 14:06:05 +00:00
842a96130c dblayeroo : Add BLOB support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5430 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-08-23 10:11:32 +00:00
f423229f94 domci : commas should be followed by space
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5281 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-23 14:55:18 +00:00
17168aaaef Update gettext : add spaces
DomCi : remove line too longs on all the files


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-23 14:19:30 +00:00
3473f2f0d0 dblayeroo : remove the tables names if there is no collision risk. The display table is not necessary the $this->table one.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5259 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-05-10 10:04:46 +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
26563260ad dblayeroo : CONCAT must use the local entries if provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5165 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-22 13:44:22 +00:00
d3f9aaeaa2 dblayeroo : Clean the columns name if there is only one table displayed, even if join is used
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5162 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-22 13:08:13 +00:00
e599607037 dblayeroo : suport join with CONCAT() in clause
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5159 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-22 11:08:32 +00:00
12e8a96b7a dblayeroo : update meta function headers
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5124 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-15 13:06:03 +00:00
6da2d9167f dblayeroo : add the nb of rows in meta
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5089 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-08 08:23:43 +00:00
cacf466567 dblayeroo : Add meta support to do analyzis
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5088 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-03-08 08:11:05 +00:00
38b8b4f5a6 dblayeroo : PgSQL : get the unique keys correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5039 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-02-15 08:15:24 +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
64ff68d165 dbalyeroo : clearRequest return now $this to be chained
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5004 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-02-11 09:24:10 +00:00
d5a5caf4f6 dblayeroo : return the value when the entry already exists
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-02-07 13:18:32 +00:00
df3be0f443 dblayeroo : manage namespace correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4942 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-02-04 13:35:37 +00:00
f9ad06ec78 dblayeroo : manage namespace correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4855 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-01-16 14:22:12 +00:00
611ca72708 dblayeroo : do not normalize the arrays !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4822 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-01-08 08:33:54 +00:00
b05453d202 dblayeroo : normalize : use the trim only if not null value is provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-12-21 09:57:29 +00:00
7e77e6b841 dblayeroo : checkvalues : return the simpler tests in first error in place or the complexes ones
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4685 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-31 12:16:39 +00:00
fc56c52628 dblayeroo : Add FLOAT support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4655 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-29 12:53:09 +00:00
f490507966 dblayeroo : Exception must begin with \
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4647 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-27 16:03:06 +00:00
97a8e659db dblayeroo : Call normalize on checkValues too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4637 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 18:16:57 +00:00
f1ee31c7ef dblayeroo : when testing the UNIQUE constraints, do not generate an exception if the value already exists in the table, return the error with the associated column name.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4634 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 14:00:37 +00:00
0bd2861c98 dblayeroo : return 406 instead of 500 if the provided values checked are invalid. It is not a server bug, it is a client bug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4633 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-25 09:01:53 +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
3b2f0e6f82 dblayeroo : Update messages
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4629 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:35:22 +00:00
32686e29b2 dblayeroo : do not generate an error if there is no parenthesis in parameter for types
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4623 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 13:28:06 +00:00
9a28d95fea dblayeroo : update the syntax and change a checkRealTypes method name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4622 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 13:19:55 +00:00
c01a476a9a dblayeroo : Add the "realTypes" support with basic associated tests. If the user want some custom tests, it must extends the class and create checkRealType_XXX tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4621 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 12:56:55 +00:00
14ef974d35 dblayeroo : do not generate an error on verify if a parameter is not provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4301 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 14:04:02 +00:00
8669bf4063 dblayeroo : listTables : sort the tables. Do not return the sqlite_sequence table
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4291 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 18:39:16 +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
0914b4afab dblayeroo : do not generate an error if a comma is provided to GROUP_CONCAT
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4288 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 15:34:40 +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
71aa47a032 dblayeroo : return tor utf8 as indexes can not supports 255 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4269 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 18:50:48 +00:00
22fdfe5b96 dblayeroo : utf8mb4 instead of utf8 charset in MySQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4250 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-15 09:43:28 +00:00
7b090d1662 dblayeroo : Add support to natural sort in ORDER
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4176 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-23 14:55:43 +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
4fccb57e7a dblayeroo: allow the foreign keys to be a NOT NULL field, then not be tested
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4002 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-16 13:13:22 +00:00
092a3153f7 dblayeroo : bug in GROUP BY : return the child object group by display content instead of nothing
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3948 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-18 12:35:33 +00:00