Skip to content

Commit 961869f

Browse files
✂️ Move upsert operation between insert and update to be more consistent
1 parent 11d9de2 commit 961869f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sfdx-source/apex-common/main/classes/fflib_SObjectUnitOfWork.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,9 +701,9 @@ public virtual class fflib_SObjectUnitOfWork
701701
onPublishBeforeEventsFinished();
702702

703703
onDMLStarting();
704-
insertDmlByType();
705-
updateDmlByType();
704+
insertDmlByType();
706705
upsertDmlByType();
706+
updateDmlByType();
707707
deleteDmlByType();
708708
emptyRecycleBinByType();
709709
resolveEmailRelationships();

0 commit comments

Comments
 (0)