1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-07-06 15:50:47 +02:00
Commit graph

23 commits

Author SHA1 Message Date
ArnAud
ceef5f4b9b SQL: table name are lowercase 2015-12-17 11:14:10 +01:00
Yann
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"'])
2015-12-17 11:12:57 +01:00
Yann
f911a389de Add a test for MySQL datasource select method
Test only select on LeObject childs without relational_filters
2015-12-17 11:09:45 +01:00
Yann
9e5e8a8433 Move test directory in MySQL for MySQL tests 2015-12-17 11:09:45 +01:00
Roland Haroutiounian
4af1606b04 Added a first implementation of the set_rank method in LeRelation 2015-12-16 17:31:39 +01:00
ArnAud
1a2c0f6a45 sqlDatasource: insert() for a hierarchical relation 2015-12-04 09:41:55 +01:00
Yann
4383606fbb Write an instance creation script and replace the SQLMigrationHandler by the MysqlMigrationHandler
see README.md for more informations about instance creation
2015-12-02 14:47:50 +01:00
Yann
3ae2e6e613 Moved all modules related to DB in the DataSource folder ( fixes #88 ) 2015-12-02 11:35:55 +01:00
ArnAud
a5efcdbfd8 SQL datasource: implement LeClass.get() and LeType.get() 2015-11-27 15:40:26 +01:00
ArnAud
d854b468e0 Lodel: first draft of Settings class 2015-11-20 14:04:41 +01:00
ArnAud
9fdb73106d SQL: do queries in one function 2015-11-19 12:05:16 +01:00
Roland Haroutiounian
565045b413 PEP8/Pylint on DataSource MySQL 2015-11-13 09:48:46 +01:00
ArnAud
b1dd977a8b DataSource MySQL: change variable name 2015-11-05 15:53:57 +01:00
Yann
94a5afcdd7 Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
2015-11-05 15:34:44 +01:00
Yann
a960d83da3 Implements del_relation in LeDatasourceSQL and get_relation modifications 2015-11-05 12:29:17 +01:00
Yann
54ba4cc3c5 Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH 2015-11-05 12:11:41 +01:00
Yann
24b758af9b Updated some MySQL properties and MigrationHandler stuff 2015-11-05 12:02:37 +01:00
Roland Haroutiounian
292a3dc8f6 [#76] The settings will be taken in a non versionned settings file 2015-11-05 10:10:32 +01:00
Roland Haroutiounian
cbd3d89426 [#63] PEP8/Pylint 2015-11-04 15:57:21 +01:00
Roland Haroutiounian
1b4f3634d3 [#63] PEP8/Pylint checked on DataSource/MySQL module 2015-11-04 15:46:55 +01:00
Roland Haroutiounian
518cfad9cd [#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource 2015-11-04 15:02:52 +01:00
Roland Haroutiounian
6f06c86a86 [#63] Change in the new of the foreign key generator 2015-11-04 14:32:52 +01:00
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
2015-11-04 14:26:08 +01:00