DynamoDB Flashcards

1
Q

What are the two keys for a table in dynamoDb?

A

Partition key and sort key — primarykey:sortkey

Example: in a chat app wed set our messages table to have chatID:messageTimestamp so we could easily group messages by chat and sort messages by time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly