- Notifications
You must be signed in to change notification settings - Fork590
Closed
Description
The following snippet gives an errorTypeError: 'bool' object is not callable
from tinydb import TinyDB, Query,where
from tinydb.operations import delete
db = TinyDB('db.json')table = db.table('Initializedtables')
table.insert({"test": "value"})
ch = Query()
table.search(ch["test"] == "value")
I believe this is due to the conflicting method named "test" in the Query class, In such cases, how to deal with this?
Metadata
Metadata
Assignees
Labels
No labels