ArnAud
c3bfb07246
group for SQL group not groups
8 years ago
Roland Haroutiounian
6f4f69ec6e
LeRelation : Modification de l'implémentation du max_rank
8 years ago
ArnAud
b1b13f4afa
crud, SQL: implement order, group, limit and offset in get() request
8 years ago
Roland Haroutiounian
141ba96de3
Deleted the get_relation call in leapidatasource's update_rank method
8 years ago
Roland Haroutiounian
6b92ec7d9b
Changed the leapidatasource's update_rank method according to the LeRelation.set_rank method's changes
8 years ago
Yann Weber
b8266f3303
Update relations rank modifications
8 years ago
Roland Haroutiounian
b8b9914567
Changed the returned value in case of failure on the update rank query in LeRelation
8 years ago
Roland Haroutiounian
60d73ba307
Added the boolean return to the update_rank method
8 years ago
ArnAud
95deb4574e
SQL datasource: insert method for relations
8 years ago
ArnAud
ceef5f4b9b
SQL: table name are lowercase
8 years ago
Yann Weber
1782153774
Add a test_query to the datasource select test method
The query is something like Textes.select(fields = ['lodel_id', 'titre'], filters = ['lodel_id = 42', 'soustitre = "foobar"'])
8 years ago
Yann Weber
f911a389de
Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
8 years ago
Yann Weber
9e5e8a8433
Move test directory in MySQL for MySQL tests
8 years ago
Roland Haroutiounian
4af1606b04
Added a first implementation of the set_rank method in LeRelation
8 years ago
Yann Weber
0e54a47399
Add first tests on MySQL datasource ( mock party ! )
A test on datasource __init__ method
A test on datasource insert method (for leobject inserts only) <= this test uses a lot of mocks and can maybe be factorised
8 years ago
ArnAud
1a2c0f6a45
sqlDatasource: insert() for a hierarchical relation
8 years ago
Yann Weber
4383606fbb
Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
9 years ago
Yann Weber
3ae2e6e613
Moved all modules related to DB in the DataSource folder ( fixes #88 )
9 years ago
ArnAud
a5efcdbfd8
SQL datasource: implement LeClass.get() and LeType.get()
9 years ago
ArnAud
d854b468e0
Lodel: first draft of Settings class
9 years ago
ArnAud
9fdb73106d
SQL: do queries in one function
9 years ago
Roland Haroutiounian
565045b413
PEP8/Pylint on DataSource MySQL
9 years ago
ArnAud
b1dd977a8b
DataSource MySQL: change variable name
9 years ago
Yann Weber
94a5afcdd7
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
9 years ago
Yann Weber
54ba4cc3c5
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
9 years ago
Yann Weber
24b758af9b
Updated some MySQL properties and MigrationHandler stuff
9 years ago
Roland Haroutiounian
292a3dc8f6
[#76 ] The settings will be taken in a non versionned settings file
9 years ago
Roland Haroutiounian
cbd3d89426
[#63 ] PEP8/Pylint
9 years ago
Roland Haroutiounian
1b4f3634d3
[#63 ] PEP8/Pylint checked on DataSource/MySQL module
9 years ago
Roland Haroutiounian
518cfad9cd
[#63 ] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
9 years ago
Roland Haroutiounian
6f06c86a86
[#63 ] Change in the new of the foreign key generator
9 years ago
Roland Haroutiounian
e39a00b361
[#63 ] New DataSource Module
* New submodule MySQL
* Unsuseful methods deleted
* Methods to create table and field names in the unified DataSource class
9 years ago