A ORM made with dynamodb-data-mapper following the patterns of DDD.
A DDD ORM make with dynamodb mapper js
deploy
, execute up
script from migration filesrollback
, execute down
script from migration filesadd
, create a new migration filecreateTable
dropTable
updatedAt
field that updated itself after every change, and a way for disabiliting itupdatedAt
and updatedAt
Model
being able to being overhide on definiton of model, in this case the original method is writen as _methodName
Model
for the root class/entity
, and a constructor for each item of a List on the Model.Model
brings the following commom methods:Repository
instance come with find()
, get()
and query()
out of box, it uses the connection
behind to return a instance of the base Model, with the above methods.dynamodb-data-mapper-js
, it has inside the mapper it-self and the dynamodb Client instance.JSONSchema
versionAttribute
of mapper