I insert an array of string to DynamoDB:
[13, 12, 12, 4]
It becomes Array of Objects when I view it in DynamoDB:
[ { "S" : "13" }, { "S" : "12" }, { "S" : "12" }, { "S" : "4" }]
Is it reasonable? Do I need to do something to make my data being inserted as array of string?
Here is how I put my array to DynamoDB:
var params = {
TableName: "MatchDate",
Item:{
position: [1, 3, 4, 5]
}
};
DynamoDBClient.put(params, function(err, data) {
//Some other code
});