Roland Haroutiounian
c6204638fa
[pep8] Lignes vides entre méthodes dans sqlutils.py
2015-07-10 09:02:59 +02:00
Yann
889abc8547
Put the database configuration asinstance attribute of EmComponent
2015-07-09 17:30:21 +02:00
Roland Haroutiounian
b03958a65a
Suppression de sqlutils.getEngine au profit de sqlutils.get_engine
2015-07-02 17:03:54 +02:00
Roland Haroutiounian
3f4ee09c9f
Normalisation PEP8/Pylint sur sqlsetup.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
b774d33fae
Nettoyage et mise en conformité PEP 8 de sqlutils.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
2bae702a8b
Ajout de l'alias get_engine dans sqlutils.py
2015-07-02 16:47:51 +02:00
Roland Haroutiounian
1796990944
[PEP8] Nettoyage de Database/sqlutils.py
2015-07-02 16:47:51 +02:00
Yann
6af0b45f3f
Code factorization on EmType select and unselect fields. Added comparison capabilities to EmComponent (and childs)
...
Implemented __hash__ and __eq__ for EmComponent (based on class name and uid) to test equality betwenn two instance. Allows to use "instance in instance_list" syntax
2015-07-02 14:35:43 +02:00
Yann
a3b9daf319
sqlwrapper deletion and sqlsetup enhancement
...
Moved the database initialisation functionnality to sqlsetup and fixed all the code to handle the sqlwrapper deletion
2015-07-01 16:22:10 +02:00
Yann
4fb2f789b5
Replacing EmComponent method getDbE by db_engine
2015-07-01 12:35:18 +02:00
Yann
16a962fb3f
Implemented DropColumn for sqlite
2015-06-26 16:03:38 +02:00
Yann
6359adc0f4
Added tests for EmField.delete() and EmClass.delete()
...
Also add a new function is sqlutils to execute ddl
2015-06-26 11:41:42 +02:00
Yann
b45e7ea4ee
Added an getTable function to sqlutils
...
It takes an EmComponent child class as parameter and return an sqlalchemy Table
2015-06-19 16:12:40 +02:00
Yann
493149cfeb
Added sqlutils functions
2015-06-05 14:45:00 +02:00