-The API for DynamoDB is a reflection of what it is. It acts as a key-value store in that it allows you to put items into DynamoDB and get items out of it, but it also acts as a sorted B-Tree index that lets you sort items, but only if you specify a sort key along with the partition key from the key-value store paradigm. And you and query only by that one sort key, but you could set up other indexes that work on different keys, but you can't query two of them together. But if you index with a local secondary index you're doing it wrong, but then a global secondary index will cause you not to be able to read items you just wrote. And you can do transactions, but only with 25 items, and if you do you can only reference each key attribute in your item once, except that you can also add a condition for other items, but only if you're not transacting on them. This goes on for [450 pages in the book that says DynamoDB doesn't have to be complicated](https://www.dynamodbbook.com/), so there you go.
0 commit comments