Is there way to insert item with the same PK without overwriting them? I keep using PutItemRequest but It keeps updating the attributes with that PK.
{
TableName = "MovieRating",
Item = new Dictionary<string, AttributeValue>
{
{ "User", new AttributeValue { S = movieRating.User } },
{ "Comment", new AttributeValue { S = movieRating.Comment } },
{ "MovieTitle", new AttributeValue { N = movieRating.MovieTitle.ToString() } },
{ "Rate", new AttributeValue { N = movieRating.Rate.ToString() } }
},
ConditionExpression = "attribute_exists(pk)",
ExpressionAttributeValues = new Dictionary<string, AttributeValue>
{
{ "User" , new AttributeValue {S = movieRating.User}}
}
};```