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

Function setSchema

src/store/index.ts:1803–1810  ·  view source on GitHub ↗
(
    tablesSchema: TablesSchema,
    valuesSchema?: ValuesSchema,
  )

Source from the content-addressed store, hash-verified

1801 });
1802
1803 const setSchema = (
1804 tablesSchema: TablesSchema,
1805 valuesSchema?: ValuesSchema,
1806 ): Store =>
1807 fluentTransaction(() => {
1808 setTablesSchema(tablesSchema);
1809 setValuesSchema(valuesSchema as ValuesSchema);
1810 });
1811
1812 const delTables = (): Store =>
1813 fluentTransaction(() =>

Callers

nothing calls this directly

Calls 3

fluentTransactionFunction · 0.70
setTablesSchemaFunction · 0.70
setValuesSchemaFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…