@anabode/dynamodb_model

dynamodb abstractions of model classes Anabode

Usage no npm install needed!

<script type="module">
  import anabodeDynamodbModel from 'https://cdn.skypack.dev/@anabode/dynamodb_model';
</script>

README

Anabode

N|Solid

Service Layer Abstraction for DynamoDB CRUD operations

Current Iteration

Uses DynamoDBDocClient SDK for easier object mapping

Recommending that one always uses ConditionalExpression to check for update/delete constraints.

This library will not do that for you, it is up to your model implementation to do that

Current Methods

  • Get
    • Can be used for any non Anabode business logic related CRUD operation
  • Query
  • Delete
  • Update (Uses PutItem)
  • UpdateInPlace (uses PutItem)

Usage Tips

Todos

  • Write MORE Tests
  • More Tyding up is needed

License

WTFPL