Relative Content

Tag Archive for amazon-web-servicesamazon-dynamodbdynamodb-queries

Best way to do begins_with query on partition key and sort key on dynamodb

I’m currently diving into DynamoDB and I’m struggling with a conceptual problem. The problem, simplified in SQL terms, is as follows: I have a table with two columns. The first column contains guaranteed unique entries and should therefore ideally be used for the partition key. I want to perform a begins_with search on the two columns. The rows that meet the condition should be returned to me as a list.

Use DynamoDB GSI with Primary Partition Key

There is an AWS DynamoDB table with partition key and sort key.
Same table has global index which consist with partition key and sort key. Anyway to use combination of GSI and primary partition key together?