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

Function delValidRow

src/store/index.ts:893–902  ·  view source on GitHub ↗
(tableId: Id, tableMap: TableMap, rowId: Id)

Source from the content-addressed store, hash-verified

891 };
892
893 const delValidRow = (tableId: Id, tableMap: TableMap, rowId: Id): void => {
894 if (whileMutating(() => middleware[9]?.(tableId, rowId)) ?? true) {
895 const [, releaseId] = mapGet(
896 tablePoolFunctions,
897 tableId,
898 ) as PoolFunctions;
899 releaseId(rowId);
900 setValidRow(tableId, tableMap, rowId, {}, true);
901 }
902 };
903
904 const delValidCell = (
905 tableId: Id,

Callers 2

setValidTableFunction · 0.70
delRowFunction · 0.70

Calls 3

mapGetFunction · 0.90
whileMutatingFunction · 0.70
setValidRowFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…