shiftcode / dynamo-easy

DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
https://shiftcode.github.io/dynamo-easy/
MIT License
206 stars 27 forks source link

`update` has "upsert" functionality #360

Closed felipevyg closed 2 years ago

felipevyg commented 3 years ago

Is your feature request related to a problem? Please describe. The update method has actually upsert functionality, where it will create the item if it not exists. This took me a while to realise since it's not documented.

Describe the solution you'd like Docs be updated with the actual behaviour.

michaelwittwer commented 2 years ago

closing this in favour of #374 holding relevant topics to be updated in the docs, serving as a knowledge base for now and also describing the strategy of the technical solution of the documentation part, envision it to be closer to the source code of the project