|
@@ -32,10 +32,10 @@ class LeQuery(object):
|
32
|
32
|
self._rw_datasource = target_class._rw_datasource
|
33
|
33
|
|
34
|
34
|
##@brief Execute a query and return the result
|
35
|
|
- # @param **datas
|
36
|
|
- # @return the query result
|
37
|
|
- # @see LeQuery._query()
|
38
|
|
- #
|
|
35
|
+ #@param **datas
|
|
36
|
+ #@return the query result
|
|
37
|
+ #@see LeQuery._query()
|
|
38
|
+ #@todo check that the check_datas_value is not duplicated/useless
|
39
|
39
|
def execute(self, datas):
|
40
|
40
|
if not datas is None:
|
41
|
41
|
self._target_class.check_datas_value(
|
|
@@ -54,8 +54,8 @@ class LeQuery(object):
|
54
|
54
|
return ret
|
55
|
55
|
|
56
|
56
|
##@brief Childs classes implements this method to execute the query
|
57
|
|
- # @param **datas
|
58
|
|
- # @return query result
|
|
57
|
+ #@param **datas
|
|
58
|
+ #@return query result
|
59
|
59
|
def _query(self, **datas):
|
60
|
60
|
raise NotImplementedError("Asbtract method")
|
61
|
61
|
|