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

Function setCells

test/unit/core/other/relationships.test.ts:14–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12let listener: RelationshipsListener;
13
14const setCells = () =>
15 store
16 .setTables({
17 t1: {r1: {c1: 'R1', c2: 'R2'}, r2: {c1: 'R1', c2: 'R3'}},
18 T1: {R1: {C1: 1}, R2: {C1: 1}, R3: {C1: 1}},
19 })
20 .setTable('t1', {r1: {c1: 'R1', c2: 'R2'}, r2: {c1: 'R2', c2: 'R2'}})
21 .setRow('t1', 'r1', {c1: 'R2', c2: 'R1'})
22 .setCell('t1', 'r1', 'c1', 'R3');
23
24const delCells = () =>
25 store.delCell('t1', 'r2', 'c2').delRow('t1', 'r1').delTables();

Callers 1

Calls 4

setCellMethod · 0.65
setRowMethod · 0.65
setTableMethod · 0.65
setTablesMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…