We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd55117 commit 5da9c7fCopy full SHA for 5da9c7f
src/Database/Database.php
@@ -4731,6 +4731,11 @@ public function createOrUpdateDocumentsWithIncrease(
4731
)));
4732
}
4733
4734
+ if ($old->getAttributes() === $document->getAttributes()) {
4735
+ unset($documents[$key]);
4736
+ continue;
4737
+ }
4738
+
4739
// If old is empty, check if user has create permission on the collection
4740
// If old is not empty, check if user has update permission on the collection
4741
// If old is not empty AND documentSecurity is enabled, check if user has update permission on the collection or document
0 commit comments