Reputation: 68
I want to insert multiple values for one primary key on DynamoDB AWS.
For example:
Primarykey: 1 Customer: "a","b"
Is it possible to do that?
Thanks,
Upvotes: 0
Views: 531
Reputation: 78573
Presumably customer is neither the partition nor the sort key, but is a simple attribute that needs to have multiple values.
Yes, DynamoDB attributes can be multi-valued. You would use the SS
data type, which is a string set.
Upvotes: 1