If you've used the native AWS DynamoDBClient for anything other than a simple get request you probably find yourself looking at the documentation a lot thinking 'how does that work again'.
There are a few libraries out there that make working with DynamoDB a little bit easier however most require extra data mapping classes and bloat that's not necessary for a lot of use cases.
I developed Dynostore as a lightweight query builder layer on top of the DynamoDBClient to help with the uses cases that require a powerful query builder without the extra bloat.
For example, an update request would now look like this.
store
.update()
.key({ id: customer.id })
.update(set('firstName', 'john'))
.condition(notExists('id'), or(), eq('name', 'john'))
.exec()
Top comments (0)