We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd55117 + 6394dc6 commit 8043176Copy full SHA for 8043176
src/Database/Database.php
@@ -4731,6 +4731,12 @@ public function createOrUpdateDocumentsWithIncrease(
4731
)));
4732
}
4733
4734
+ $disallowed = ['$tenant', '$internalId'];
4735
+ if ($old->getArrayCopy(disallow: $disallowed) == $document->getArrayCopy(disallow: $disallowed)) {
4736
+ unset($documents[$key]);
4737
+ continue;
4738
+ }
4739
+
4740
// If old is empty, check if user has create permission on the collection
4741
// If old is not empty, check if user has update permission on the collection
4742
// If old is not empty AND documentSecurity is enabled, check if user has update permission on the collection or document
0 commit comments