We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9510311 commit 07ffdefCopy full SHA for 07ffdef
README.md
@@ -105,10 +105,10 @@ let item = {
105
let params = MyModel.get(item)
106
107
// Pass the parameters to the DocumentClient's `get` method
108
-let response = await DDB.get(params).promise()
+let response = await DocumentClient.get(params).promise()
109
110
// Parse the raw response with the `parse` method
111
-let result = MyModel.parse(get)
+let result = MyModel.parse(response)
112
```
113
114
This will return the object mapped to your aliases and composite key mappings:
0 commit comments