DynamoDB sort key

An optional second part of a DynamoDB key that orders items sharing a partition key, so you can read a range of them.

In more detail

With a customer as partition key and order time as sort key, one query returns that customer’s orders in date order. Sort keys turn one-to-many questions into cheap range reads.

Related terms

Taught in

References