add todo about unique constraints
This commit is contained in:
parent
bf14090010
commit
a7a5ec93e6
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ class CollectedChangesPrefetch:
|
|||
instances: dict[ObjectReference, Model]
|
||||
|
||||
def apply(self):
|
||||
# todo: what if unique constraint error occurs?
|
||||
prev_values = copy.deepcopy(self.changes.prev_values)
|
||||
for operation in self.changes.operations:
|
||||
if isinstance(operation, CreateObjectOperation):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue