1 Answers
These terms can be used interchangeably when referring to keys/indexes in DynamoDB.
Sign Up Free or Log In to participate!
The DynamoDB lessons keep mentioning a hash key and range key. The documentation calls this a hash attribute and range attribute, not hash and range key. It would be nice to update the lessons to match the documentation. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html
These terms can be used interchangeably when referring to keys/indexes in DynamoDB.
Psst…this one if you’ve been moved to ACG!
I didn’t see any AWS documentation that called it a a key vs. attribute. Do you happen to know off hand where they do call it a key?
It’s scattered throughout the documentation. This page gives you the explaination that they are used interchangeably about half way down in the Note box. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html