Commit Graph

11 Commits

Author SHA1 Message Date
Dominique.Fournier bd575e67ed A little bug : if we don't modify the uniq columns, no need to check if there is a constrain violation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1239 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-23 19:09:42 +00:00
Dominique.Fournier 9460c245ef Add a unique constrain in the tables in dblayer. Block the creation/update if the constrain is forced.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1232 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 14:57:42 +00:00
Dominique.Fournier 32835b4d7c Add an exception to dblayer.php if the datas are not in the right format
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1230 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 11:55:48 +00:00
Dominique.Fournier 544dc3cfed Return the number of rows modified by the request
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1226 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-19 20:35:09 +00:00
Dominique.Fournier 383e831ff3 Add support to read in dblayer with order and colmuns displayed
Return the number of deleted rows in delete


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1223 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-18 18:35:48 +00:00
Dominique.Fournier a11b4d0bb7 Add ordering reads in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1222 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-17 15:16:14 +00:00
Dominique.Fournier 5dbf9bcfcc Suppress a extra space in a SQL command
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1221 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-17 14:51:43 +00:00
Dominique.Fournier 0a8051a1ce Parameters for read in dblayer are provided in array to have more than one criteria.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1220 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-17 12:52:57 +00:00
Dominique.Fournier ad830056b1 Add correct read support (filter without value, bad key assignement)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1218 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-13 19:00:05 +00:00
Dominique.Fournier c05626a567 Missing */ in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1213 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 09:23:09 +00:00
Dominique.Fournier 96cf1c4010 First release of domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1207 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-27 08:47:54 +00:00