You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\BaoPhamDynamoDbQueryBuilder::getAll performs the following special logic when exact search is available. If item does not exist and null is returned, it should return an empty collection.
if ($analyzer->isExactSearch()) {
$item = $this->find($analyzer->identifierConditionValues(), $columns);
return$this->getModel()->newCollection([$item]);
}
Schema
Describe your table schema:
Primary key / composite key
AttributeName: id
AttributeType: S
KeyType: HASH
Describe the bug
Assume the name of the primary key in table
foos
isid
.Expected result:
Empty collection
Actual result:
Collection with null as an element.
\BaoPhamDynamoDbQueryBuilder::getAll performs the following special logic when exact search is available. If item does not exist and null is returned, it should return an empty collection.
Schema
Describe your table schema:
Primary key / composite key
AttributeName: id
AttributeType: S
KeyType: HASH
Any index?
no
Debug info
Version info
The text was updated successfully, but these errors were encountered: