fixed problem with lazyT.__mod__
This commit is contained in:
+3
-1
@@ -7420,7 +7420,9 @@ class Table(dict):
|
||||
self._attempt_upload(fields)
|
||||
if any(f(fields) for f in self._before_insert): return 0
|
||||
ret = self._db._adapter.insert(self,self._listify(fields))
|
||||
ret and [f(fields,ret) for f in self._after_insert]
|
||||
if ret and self._after_insert:
|
||||
fields = Row(fields)
|
||||
[f(fields,ret) for f in self._after_insert]
|
||||
return ret
|
||||
|
||||
def validate_and_insert(self,**fields):
|
||||
|
||||
Reference in New Issue
Block a user