This commit is contained in:
ArnabChatterjee20k 2025-12-13 23:45:57 +05:30
parent 70395cfacc
commit e4e6c84362

View file

@ -82,7 +82,7 @@ class Document extends Any
{
$document->removeAttribute('$collection');
$document->removeAttribute('$tenant');
var_dump($document->getArrayCopy());
if (!$document->isEmpty()) {
$document->setAttribute('$sequence', (int)$document->getAttribute('$sequence', 0));
}