We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed when you want to pass a nested JSON object with put item (also update item), it insert the object into the database as [object, object].
I haven't started looking into your code in to mush depth yet, but as aws can support nested json objects, it would worth looking into.
Example Trying to insert the following object into a new table won't give any warnings
var object = { "id": "id", "num": 1, "str": "string", "Obj": { "num": 1, "str": "string" } }; dynode.putItem("NewTable", object);
However amazon will show it inserted as:
{ "id": "id", "num": 1, "Obj": "[object Object]", "str": "string" }
The text was updated successfully, but these errors were encountered:
My guess it something to do with the stringify in the putItem method
var request = util.mixin({}, {TableName: tableName, Item: Types.stringify(item)}, options);
Sorry, something went wrong.
No branches or pull requests
I noticed when you want to pass a nested JSON object with put item (also update item), it insert the object into the database as [object, object].
I haven't started looking into your code in to mush depth yet, but as aws can support nested json objects, it would worth looking into.
Example
Trying to insert the following object into a new table won't give any warnings
However amazon will show it inserted as:
The text was updated successfully, but these errors were encountered: