|
@@ -474,8 +474,6 @@ class LeInsertQuery(LeQuery):
|
474
|
474
|
def _query(self, datas):
|
475
|
475
|
datas = self._target_class.prepare_datas(datas, True, False)
|
476
|
476
|
id_inserted = self._rw_datasource.insert(self._target_class,datas)
|
477
|
|
- # To put in a hook ??
|
478
|
|
- self._target_class.make_consistency(datas=res_datas)
|
479
|
477
|
return id_inserted
|
480
|
478
|
"""
|
481
|
479
|
## @brief Implements an insert query operation, with multiple insertions
|
|
@@ -566,8 +564,6 @@ target to LeUpdateQuery constructor"
|
566
|
564
|
res = self._rw_datasource.update(
|
567
|
565
|
self._target_class, filters, [],
|
568
|
566
|
res_datas)
|
569
|
|
- # To put in a hook ??
|
570
|
|
- self._target_class.make_consistency(datas=res_datas)
|
571
|
567
|
return res
|
572
|
568
|
|
573
|
569
|
## @brief Execute the update query
|