Skip to content

update without condition #157

@just-an-dev

Description

@just-an-dev

i try to make an update of an entire table, and i have an error.

 File "/Library/Python/2.7/site-packages/tinydb/database.py", line 408, in update
    cond, eids
  File "/Library/Python/2.7/site-packages/tinydb/database.py", line 258, in process_elements
    if cond(data[eid]):
TypeError: 'NoneType' object is not callable

i use TinyDB version 3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions