-
assigned issue to
- edited description
Improve storage update api
Issue #1
resolved
Allow for direct update without previous fetching so that this code example
with storage() as db:
record = db.fetch(Todo, id, vsn)
record.text = text
record.done = done
db.update(record)
can be simplified as follow:
with storage() as db:
record = db.update(Todo, id, vsn, text = text, done = done)
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Commit 8d95fc9
- Log in to comment