MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / search_build_where

Function search_build_where

src/store/store.c:2588–2597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2586}
2587
2588static int search_build_where(const cbm_search_params_t *params, char *where, int where_sz,
2589 search_bind_t *binds, int *bind_idx, search_like_pool_t *pool) {
2590 int wlen = 0;
2591 int nparams = 0;
2592
2593 search_where_basic(params, where, where_sz, &wlen, &nparams, binds, bind_idx, pool);
2594 search_where_advanced(params, where, where_sz, &wlen, &nparams, binds, bind_idx);
2595
2596 return nparams;
2597}
2598
2599int cbm_store_search(cbm_store_t *s, const cbm_search_params_t *params, cbm_search_output_t *out) {
2600 memset(out, 0, sizeof(*out));

Callers 1

cbm_store_searchFunction · 0.85

Calls 2

search_where_basicFunction · 0.85
search_where_advancedFunction · 0.85

Tested by

no test coverage detected