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

Function setPartialRow

src/store/index.ts:1614–1626  ·  view source on GitHub ↗
(tableId: Id, rowId: Id, partialRow: Row)

Source from the content-addressed store, hash-verified

1612 });
1613
1614 const setPartialRow = (tableId: Id, rowId: Id, partialRow: Row): Store =>
1615 fluentTransaction(
1616 (tableId, rowId) => {
1617 if (validateRow(tableId, rowId, partialRow, 1)) {
1618 const table = getOrCreateTable(tableId);
1619 objMap(partialRow, (cell, cellId) =>
1620 setCellIntoNewRow(tableId, table, rowId, cellId, cell as Cell),
1621 );
1622 }
1623 },
1624 tableId,
1625 rowId,
1626 );
1627
1628 const setCell = (
1629 tableId: Id,

Callers

nothing calls this directly

Calls 5

objMapFunction · 0.90
fluentTransactionFunction · 0.70
validateRowFunction · 0.70
getOrCreateTableFunction · 0.70
setCellIntoNewRowFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…