MCPcopy
hub / github.com/msiemens/tinydb / where

Function where

tinydb/queries.py:516–520  ·  view source on GitHub ↗

A shorthand for ``Query()[key]``

(key: str)

Source from the content-addressed store, hash-verified

514 return query
515
516def where(key: str) -> Query:
517 """
518 A shorthand for ``Query()[key]``
519 """
520 return Query()[key]

Callers 15

test_path_existsFunction · 0.90
test_path_andFunction · 0.90
getFunction · 0.90
test_json_readwriteFunction · 0.90
test_json_readFunction · 0.90
test_yamlFunction · 0.90
test_one_tableFunction · 0.90
test_multiple_tablesFunction · 0.90
test_query_cacheFunction · 0.90
test_zero_cache_sizeFunction · 0.90
test_query_cache_sizeFunction · 0.90

Calls 1

QueryClass · 0.85

Tested by 15

test_path_existsFunction · 0.72
test_path_andFunction · 0.72
getFunction · 0.72
test_json_readwriteFunction · 0.72
test_json_readFunction · 0.72
test_yamlFunction · 0.72
test_one_tableFunction · 0.72
test_multiple_tablesFunction · 0.72
test_query_cacheFunction · 0.72
test_zero_cache_sizeFunction · 0.72
test_query_cache_sizeFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…