Can I Use 'Begins With' on Just a Partition Key?

July 31, 2025 1 answer
Asked by !~wildlife camera
I'm wondering if it's possible to use the 'begins with' function specifically on a partition key in DynamoDB. Are there any limitations I should be aware of?

Answers

cardigan_weather
Nope, you can't use 'begins with' solely on the partition key. This function typically requires both the partition key and sort key for a proper query.

hourglass.ink: How can I perform queries without it then?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions