nayaverdier / dyntastic

A DynamoDB library on top of Pydantic and boto3.
MIT License
55 stars 12 forks source link

Allowing updates without first fetching the record #22

Open whitfin opened 2 months ago

whitfin commented 2 months ago

Following on from https://github.com/nayaverdier/dyntastic/issues/21#issuecomment-2156202427.

I don't really have a clear path to this, but I'd expect something like:

Model.update("id", updates..., refresh=False (or true!))

Maybe it needs a new name beyond update, not sure. I definitely think this would be a great addition though.