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