diff --git a/src/unit-of-work/op-result.js b/src/unit-of-work/op-result.js index 9bcb9a9a..1e3349d8 100644 --- a/src/unit-of-work/op-result.js +++ b/src/unit-of-work/op-result.js @@ -47,7 +47,11 @@ export class OpResult { } isObjectRef() { - return this.operationType === OperationType.CREATE || this.operationType === OperationType.UPDATE + return ( + this.operationType === OperationType.CREATE || + this.operationType === OperationType.UPDATE || + this.operationType === OperationType.UPSERT + ) } setOpResultId(opResultId) {