Roland Haroutiounian
c6204638fa
[pep8] Lignes vides entre méthodes dans sqlutils.py
9年前
Yann Weber
889abc8547
Put the database configuration asinstance attribute of EmComponent
9年前
Roland Haroutiounian
b03958a65a
Suppression de sqlutils.getEngine au profit de sqlutils.get_engine
9年前
Roland Haroutiounian
3f4ee09c9f
Normalisation PEP8/Pylint sur sqlsetup.py
9年前
Roland Haroutiounian
b774d33fae
Nettoyage et mise en conformité PEP 8 de sqlutils.py
9年前
Roland Haroutiounian
2bae702a8b
Ajout de l'alias get_engine dans sqlutils.py
9年前
Roland Haroutiounian
1796990944
[PEP8] Nettoyage de Database/sqlutils.py
9年前
Roland Haroutiounian
1322e14d6b
Normalisation PEP8/Pylint sur sqlsetup.py
9年前
Roland Haroutiounian
c3f736ca43
Nettoyage et mise en conformité PEP 8 de sqlutils.py
9年前
Roland Haroutiounian
ad3c662a47
Ajout de l'alias get_engine dans sqlutils.py
9年前
Roland Haroutiounian
8e91c99fae
[PEP8] Nettoyage de Database/sqlutils.py
9年前
Yann Weber
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
9年前
Yann Weber
a3b9daf319
sqlwrapper deletion and sqlsetup enhancement
Moved the database initialisation functionnality to sqlsetup and fixed all the code to handle the sqlwrapper deletion
9年前
Yann Weber
4fb2f789b5
Replacing EmComponent method getDbE by db_engine
9年前
Yann Weber
16a962fb3f
Implemented DropColumn for sqlite
9年前
Yann Weber
6359adc0f4
Added tests for EmField.delete() and EmClass.delete()
Also add a new function is sqlutils to execute ddl
9年前
Yann Weber
b45e7ea4ee
Added an getTable function to sqlutils
It takes an EmComponent child class as parameter and return an sqlalchemy Table
9年前
Yann Weber
493149cfeb
Added sqlutils functions
9年前