Which of the following functions is correct to map DynamoDB results to a JavaSscript object?
Answer
Correct Answer: function mapImage(item) { return { "id": item.id.S, "version": parseInt(item.version.N, 10), "state": item.state.S, "rawS3Key": [...] "processedS3Key": [...] "processedImage": [...] }; };
Explanation:
Note: This Question is unanswered, help us to find answer for this one