introduce upsert method on model, add tests to see if save status properly changing on nested models

This commit is contained in:
collerek
2020-11-14 13:53:32 +01:00
parent 1f67da3a5c
commit e805ff16b2
3 changed files with 80 additions and 30 deletions

View File

@ -24,3 +24,7 @@ class QueryDefinitionError(AsyncOrmException):
class RelationshipInstanceError(AsyncOrmException):
pass
class ModelPersistenceError(AsyncOrmException):
pass