Skip to content

Commit b518052

Browse files
abnegateclaude
andcommitted
debug: Log attribute differences in updateDocument
Temporary debug to identify cache vs DB data differences. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0f3aeec commit b518052

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Database/Database.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5701,6 +5701,7 @@ public function updateDocument(string $collection, string $id, Document $documen
57015701
// If values are not equal we need to update document.
57025702
if ($value !== $oldValue) {
57035703
$shouldUpdate = true;
5704+
error_log("DEBUG shouldUpdate: key={$key} type_new=" . gettype($value) . " type_old=" . gettype($oldValue) . " val_new=" . json_encode($value) . " val_old=" . json_encode($oldValue));
57045705
break;
57055706
}
57065707
}

0 commit comments

Comments
 (0)