1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-10-29 15:51:34 +01:00
Commit graph

27 commits

Author SHA1 Message Date
Yann
fff0225428 Merge branch 'sqlwrapper' 2015-06-05 11:07:02 +02:00
Yann
8fc072f6ee Cleaning and changin some methods name in sqlwrapper 2015-06-05 11:06:29 +02:00
Yann
2af27292c7 Merge branch 'sqlwrapper' of git.labocleo.org:lodel2 into sqlwrapper 2015-06-04 16:11:32 +02:00
Yann
6ab79eb412 Implemented alter table in sqlwrapper
Adding a column is implemented for mysql, postgresql and sqlite.
Droping and altering a column is only implemented for mysql and postgresql for the moment.

Quick&dirty tests has been done  for sqlite and mysql only.
2015-06-04 16:07:31 +02:00
Driky
49994da98f Prise en charge de la clause bindparam dans sqlquerybuilder.py
To-Do: tester
2015-06-03 16:48:47 +02:00
Driky
f937a63b53 Ajout de insert et delete dans sqlquerybuilder.py
To-do: prendre en charge le cas de execute ou une query a des parametre binder et une liste de dictionnaire est envoyé en param
2015-06-03 16:34:17 +02:00
Driky
d66ccfc431 sqlobject.py renommer en sqlquerybuilder.py
Implementation d'alias au ordre sqlalchemy: select, select_from, where, update, execute
To-Do: implemente insert et delete, tester.
2015-06-03 16:09:11 +02:00
ArnAud
58a4d7c681 Schéma: uid as integer, no column named 'class' 2015-06-03 15:42:12 +02:00
Yann
b82ccd7911 Allow to use SqlWrapper.createTable without being called by SqlWrapper.createAllFromConf 2015-06-03 15:13:43 +02:00
Yann
ddfbb2b056 Modified SqlWrapper to handle SqlSetup script
Now SQLSetup in able (via initDb) to initialize the database.
WARNING : initDb start by droping all tables in database before creating the new ones
2015-06-03 15:01:37 +02:00
Yann
dde02cadd0 New version of sqlwrapper that is not a singleton anymore 2015-06-03 13:39:03 +02:00
Yann
1a6a367481 Removed lines cut after 72 chars 2015-06-03 10:03:41 +02:00
Yann
9896c16e8e Small bugfixes in sqlobject and sqlwrapper 2015-06-03 09:30:12 +02:00
Yann
59f75eddbd Merge branch 'sqlwrapper_obj' for bugfixes 2015-05-29 16:15:32 +02:00
Yann
4120a45fff Bugfixes in sqlwrapper 2015-05-29 16:14:49 +02:00
Yann
7de456c41c Merge branch 'master' of git.labocleo.org:lodel2 2015-05-29 16:05:26 +02:00
Yann
a25e97607c Updated version of the sqlwrapper 2015-05-29 16:03:01 +02:00
Yann
155e089750 Added some test for sql_wrapper alter schema functions 2015-05-29 10:41:26 +02:00
Yann
c7defe71e0 Added tests for sqlwrapper
Removed logging test in EditorialModel/lib/component.py
Added comment in Database/sqlwrapper.py
2015-05-28 17:41:45 +02:00
Yann
aad5586cb1 Updated sqlwrapper to enable sqlite support and logging enable/disable 2015-05-28 14:23:03 +02:00
ArnAud
4e2b85328c ME: installation of the basic tables 2015-05-27 16:48:51 +02:00
Yann
ebdb512500 Modification to be less dependent to django + logging in db wrapper 2015-05-27 15:05:05 +02:00
ArnAud
3ce6e1774e sqlWrapper: default attend un objet 2015-05-27 13:33:05 +02:00
Yann
07209417a7 Refactoring comments in db wrapper 2015-05-27 13:31:35 +02:00
ArnAud
3e80b68303 connection à une base de donnée 2015-05-27 11:57:16 +02:00
Roland Haroutiounian
966e16a2bb Paramétrage des noms de connexion dans le module Databases 2015-05-22 16:18:12 +02:00
Roland Haroutiounian
d8d0f9f303 Ajout du module Database 2015-05-22 12:22:16 +02:00