Concept Flow - Composite primary key
Start: Insert Item
Check Partition Key
Check Sort Key
Combine Partition + Sort Key
Store Item with Composite Key
Query by Partition Key
Filter or Sort by Sort Key
Return Matching Items
DynamoDB uses a composite primary key made of a partition key and a sort key to uniquely identify items and enable efficient queries.
