MCPcopy Create free account
hub / github.com/tinyplex/tinybase / delQueryDefinition

Function delQueryDefinition

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:3722–3732  ·  view source on GitHub ↗
(queryId)

Source from the content-addressed store, hash-verified

3720 })
3721 );
3722 const delQueryDefinition = (queryId) => {
3723 ifNotUndefined(
3724 getQueryArgs(queryId),
3725 ([, listenerId]) => paramStore.delListener(listenerId)
3726 );
3727 paramStore.delRow(PARAMS_TABLE, queryId);
3728 resetPreStores(queryId);
3729 resetSourceStores(queryId);
3730 delDefinition(queryId);
3731 return queries;
3732 };
3733 const setParamValues = (queryId, paramValues) => {
3734 if (hasQuery(queryId)) {
3735 setOrDelParamValues(queryId, paramValues);

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…