user657592
user657592

Reputation: 1061

Mechanism to retrieve all items from DynamoDB that begin with a string

Is there a mechanism to retrieve all items from a Dynamo DB table where the hash key of a GSI begins with a specific string?

Thanks in advance!

Upvotes: 1

Views: 262

Answers (1)

Mark B
Mark B

Reputation: 200446

Use the BEGINS_WITH condition in your query: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Condition.html

Upvotes: 0

Related Questions