MCPcopy
hub / github.com/tinyplex/tinybase / delQueryDefinition

Function delQueryDefinition

src/queries/index.ts:838–847  ·  view source on GitHub ↗
(queryId: Id)

Source from the content-addressed store, hash-verified

836 );
837
838 const delQueryDefinition = (queryId: Id): Queries => {
839 ifNotUndefined(getQueryArgs(queryId), ([, listenerId]) =>
840 paramStore.delListener(listenerId),
841 );
842 paramStore.delRow(PARAMS_TABLE, queryId);
843 resetPreStores(queryId);
844 resetSourceStores(queryId);
845 delDefinition(queryId);
846 return queries;
847 };
848
849 const setParamValues = (queryId: Id, paramValues: ParamValues): Queries => {
850 if (hasQuery(queryId)) {

Callers

nothing calls this directly

Calls 5

resetPreStoresFunction · 0.70
resetSourceStoresFunction · 0.70
delListenerMethod · 0.65
delRowMethod · 0.65
delDefinitionFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…