MCPcopy
hub / github.com/marimo-team/marimo / addTable

Function addTable

frontend/src/core/datasets/__tests__/data-source.test.ts:470–478  ·  view source on GitHub ↗
(table: DataTable, sqlTableContext: SQLTableContext)

Source from the content-addressed store, hash-verified

468
469 // Helper function to add table
470 const addTable = (table: DataTable, sqlTableContext: SQLTableContext) => {
471 return reducer(baseState, {
472 type: "addTable",
473 payload: {
474 table: table,
475 sqlTableContext: sqlTableContext,
476 },
477 });
478 };
479
480 let baseState: DataSourceState;
481

Callers 2

DatasetTableItemFunction · 0.85

Calls 1

reducerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…