Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/msiemens/tinydb
/ test_remove
Function
test_remove
tests/test_tinydb.py:186–190 ·
view source on GitHub ↗
(db: TinyDB)
Source
from the content-addressed store, hash-verified
184
185
186
def
test_remove(db: TinyDB):
187
db.remove(where(
'char'
) ==
'b'
)
188
189
assert len(db) == 2
190
assert db.count(where(
'int'
) == 1) == 2
191
192
193
def
test_remove_all_fails(db: TinyDB):
Callers
nothing calls this directly
Calls
3
where
Function · 0.90
remove
Method · 0.80
count
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…