private function computeScheduleUpsertsChangeSets() : void
    {
        foreach ($this->documentUpserts as $document) {
            $class = $this->dm->getClassMetadata(get_class($document));
            if ($class->isEmbeddedDocument) {
                continue;
            }

            $this->computeChangeSet($class, $document);
        }
    }
private function computeScheduleUpsertsChangeSets() : void
    {
        foreach ($this->documentUpserts as $document) {
            $class = $this->dm->getClassMetadata(get_class($document));
            if ($class->isEmbeddedDocument) {
                continue;
            }

            $this->computeChangeSet($class, $document);
        }
    }
private function computeScheduleUpsertsChangeSets ( ) : void { foreach ( $ this -> documentUpserts as $ document ) { $ class = $ this -> dm -> getClassMetadata ( get_class ( $ document ) ) ; if ( $ class -> isEmbeddedDocument ) { continue ; } $ this -> computeChangeSet ( $ class , $ document ) ; } }
Compute changesets of all documents scheduled for upsert.

Embedded documents will not be processed.
Compute changesets of all documents scheduled for upsert .