Skip to content

Commit 927545f

Browse files
committed
Revert "fix: map empty attribute to _id in Mongo::getInternalKeyForAttribute"
This reverts commit 8aa7100.
1 parent 8aa7100 commit 927545f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Adapter/Mongo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ protected function getInternalKeyForAttribute(string $attribute): string
19781978
{
19791979
return match ($attribute) {
19801980
'$id' => '_uid',
1981-
'', '$sequence' => '_id',
1981+
'$sequence' => '_id',
19821982
'$collection' => '_collection',
19831983
'$tenant' => '_tenant',
19841984
'$createdAt' => '_createdAt',

0 commit comments

Comments
 (0)