#332·tinydb

feat: support `Document` type on update/remove etc

Author: CologlerCreated Aug 8, 2020Updated May 18, 2021
Labelsdiscussionpinned

Currently:

python
table = ...
items = table.all()
... # work with items, than:
for item in items:
    table.update(item, doc_ids=[item.doc_id])

Expected:

python
table = ...
items = table.all()
... # work with items, than:
for item in items:
    table.update(item)