MCPcopy Index your code
hub / github.com/idank/explainshell / build_query_in

Function build_query_in

tools/bench_src_index.py:47–49  ·  view source on GitHub ↗
(n: int)

Source from the content-addressed store, hash-verified

45
46
47def build_query_in(n: int) -> str:
48 placeholders = ",".join("?" * n)
49 return f"SELECT DISTINCT dst FROM mappings WHERE src IN ({placeholders})"
50
51
52def collect_sample_srcs(

Callers 1

bench_in_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected