Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/msiemens/tinydb
/ clear_cache
Method
clear_cache
tinydb/table.py:637–642 ·
view source on GitHub ↗
Clear the query cache.
(self)
Source
from the content-addressed store, hash-verified
635
return
len(self.search(cond))
636
637
def
clear_cache(self) -> None:
638
""
"
639
Clear the query cache.
640
""
"
641
642
self._query_cache.clear()
643
644
def
__len__(self):
645
""
"
Callers
2
_update_table
Method · 0.95
test_lru_cache
Function · 0.80
Calls
1
clear
Method · 0.80
Tested by
1
test_lru_cache
Function · 0.64