Yann Weber
2668770369
Begin abstract LeObject child query factorisation in mongodb Datasource
8 yıl önce
Yann Weber
0acd3d6612
Bugfixes in query and datasources.
8 yıl önce
Yann Weber
d12d1e2865
Bugfixes in query.py and leobject.py + more test on Query <-> Datasource relations
8 yıl önce
Yann Weber
c6334f903f
Bugfixes in LeGetQuery + more tests on LeObject.get <-> LeGetQuery
8 yıl önce
Yann Weber
33b9ad84c6
Tests + bugfix on LeObject.get method
- Changed the way of instanciating results object in get (using __new__ )
8 yıl önce
Yann Weber
96f736ae16
Bufixes making test pass
8 yıl önce
Yann Weber
59e33b9a68
Bugfixes in query, in the execute method
8 yıl önce
prieto
27985b8411
O
8 yıl önce
prieto
69c3001b1b
__ instead of _
8 yıl önce
prieto
11328fca29
Correction
8 yıl önce
prieto
c3e62e57be
Corrections
8 yıl önce
Yann Weber
9c23abcdcc
Bugfixes on leobject & query
8 yıl önce
prieto
a5474695a8
correct an error of keyboard
8 yıl önce
prieto
8806738bba
correct lequery execute
8 yıl önce
Yann Weber
77d6fd8df5
More tests on LeOject
8 yıl önce
Yann Weber
59691165ae
Wrong method was called for preparing datas in LeUpdateQuery
8 yıl önce
Yann Weber
9da19f3665
Moved exceptions + LeUpdateQuery.__query implementation
- The LeUpdateQuery implementation is broken or at least have huge performance issue
- Moved LeObject exceptions and LeQuery exceptions in lodel.leapi.exceptions
8 yıl önce
Yann Weber
ba5fded049
Enable data check for LeInsertQuery
8 yıl önce
Yann Weber
77e7c36de9
Not fully tested. Enables separated datasources for read only or read&write access to the DB
8 yıl önce
Yann Weber
5708194875
Rewriting CRUD methods of datasources
- Now delete & update methods use filters & rel_filters
8 yıl önce
Yann Weber
7e2a60e73e
Fixing lequery execute -> __query process
- deleting most of **datas to replace it with a standart dict argument
- using filters in childs of LeFilteredQuery
8 yıl önce
Yann Weber
be472a0d59
Modified LeDeleteQuery to act like a standart LeFilteredQuery
8 yıl önce
Yann Weber
11027fd959
Starting implementation of relation in datasource
8 yıl önce
Yann Weber
0f9b07f08a
More tests & debug on multi datasource queries + em_test update
- Added missing allowed_classes options to some references in em_test
8 yıl önce
Yann Weber
e55954d947
First test on multi datasource queries + em_test update + query.py debug
- Modified again the em_test to fit with testing purpose
- First test on multi datasource query written
- debugging of query.py
8 yıl önce
Yann Weber
b8d5b5bba2
Completing em_test modifications + completing the dump_infos method of LeFilteredQuery
- adding an EmClass to make a double link between indexes and texts
- adding subqueries infos to dump_infos method of LeFilteredQuery
8 yıl önce
Yann Weber
11c6b2b53e
Commenting a duplicated method + adapting LeQuery __query method to the new datasource system
8 yıl önce
Yann Weber
eba5d7d616
LeFilteredQuery.execute() method is written
8 yıl önce
Yann Weber
a91d25e392
Begin implementation of cross datasource reference query
- The set_query_filter() method handles subquery creation
- The run isn't written yet...
8 yıl önce
Yann Weber
5d624bfda2
Make query.py lines fit in 78chars
8 yıl önce
Yann Weber
3fe63787fb
Updated lequery.py to use targe_class datasource and not taking it as arguement of execute methods
8 yıl önce
Yann Weber
bf879a833c
Adds tests for LeGetQuery + bugfixes
- separates LeGetQuery tests and LeFilteredQuery tests
- small bugfixes associated to tests
8 yıl önce
Yann Weber
9781577cb6
Add tests for filtered queries + bugfixes
- adds tests on filter parse & check
- standart filters parse & check
- relational filters parse & check
- bugfixes related to tests in query.py
- update the example and the test EM
- bugfixes in admin script
8 yıl önce
Yann Weber
5991bc8e6f
Add leading & trailing spaces to all operators in LefilteredQuery
Doing so forbids operators like << == =! in* etc..
The tests were updated
8 yıl önce
Yann Weber
f402902b5b
Written some tests for filtered queries + query re modifications
- the re for filter spliting is modified to better handle operators
- added leading & trailing space to some operators
8 yıl önce
Yann Weber
76f002d06c
Bugfixes in leobject and queries classes
8 yıl önce
Yann Weber
e5b9a4abd3
Bugfix in leapi/query.py
8 yıl önce
Yann Weber
251fc6d324
Add some utility function + addition in query.py
8 yıl önce
prieto
f55980de2e
Ajout insertion multiple
8 yıl önce
prieto
ee0ba8dea8
Corrections oublis
8 yıl önce
prieto
6d61bf29ed
enlever méthode inutile
8 yıl önce
prieto
ab2bbee191
Implémentation requete
8 yıl önce
Yann Weber
61dd475e8c
Query refactoring
8 yıl önce
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
8 yıl önce
Roland Haroutiounian
8bc0f8484e
Code cleaning on the query module
8 yıl önce
Roland Haroutiounian
95e5b3c03d
First implementation of the query preparation of the LeGetQuery class
8 yıl önce
Roland Haroutiounian
81ad187977
Bug fix on the name of a method in query module
8 yıl önce
Roland Haroutiounian
9c9dd8bc96
code cleaning
8 yıl önce
Roland Haroutiounian
62161a0ffb
LeGetQuery.__get() now takes into account the group argument
8 yıl önce
Roland Haroutiounian
f9df2fb0f3
Added the implementation of LeGetQuery.__prepare_order()
8 yıl önce