MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getTransactionLog

Function getTransactionLog

src/store/index.ts:1928–1939  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1926 getTransactionChangesImpl(true);
1927
1928 const getTransactionLog = (): TransactionLog => [
1929 !collIsEmpty(changedCells),
1930 !collIsEmpty(changedValues),
1931 mapToObj3(changedCells, pairClone, pairIsEqual),
1932 mapToObj3(invalidCells),
1933 mapToObj(changedValues, pairClone, pairIsEqual),
1934 mapToObj(invalidValues),
1935 mapToObj(changedTableIds),
1936 mapToObj2(changedRowIds),
1937 mapToObj3(changedCellIds),
1938 mapToObj(changedValueIds),
1939 ];
1940
1941 const finishTransaction = (doRollback?: DoRollback): Store => {
1942 if (transactions > 0) {

Callers

nothing calls this directly

Calls 4

collIsEmptyFunction · 0.90
mapToObj3Function · 0.90
mapToObjFunction · 0.90
mapToObj2Function · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…