Skip to content

Commit b835fb0

Browse files
committed
unmarshal batch get results
1 parent 380b7aa commit b835fb0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Kitar/Dynamodb/Query/Processor.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ protected function unmarshal(Result $res)
3333
$responseArray['Attributes'] = $this->marshaler->unmarshalItem($responseArray['Attributes']);
3434
}
3535

36+
if (! empty($responseArray['Responses'])) {
37+
foreach ($responseArray['Responses'] as &$items) {
38+
foreach ($items as &$item) {
39+
$item = $this->marshaler->unmarshalItem($item);
40+
}
41+
}
42+
}
43+
3644
return $responseArray;
3745
}
3846

0 commit comments

Comments
 (0)