stevearc/flywheel

can save return the items new values?

Closed this issue · 1 comments

By default, I believe DynamoDB returns the updates item for free.
Is it possible to get the save method on a Model to return the saved items?

Maybe it already does, I haven't dug through the code too much yet.

When using the sync() method flywheel will perform an UpdateItem and specify returns=ALL_NEW. It then updates the models with the returned values.