MCPcopy Create free account
hub / github.com/tinyplex/tinybase / setSchema

Function setSchema

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:2068–2071  ·  view source on GitHub ↗
(tablesSchema, valuesSchema)

Source from the content-addressed store, hash-verified

2066 }
2067 });
2068 const setSchema = (tablesSchema, valuesSchema) => fluentTransaction(() => {
2069 setTablesSchema(tablesSchema);
2070 setValuesSchema(valuesSchema);
2071 });
2072 const delTables = () => fluentTransaction(
2073 () => whileMutating(() => middleware[7]?.()) ?? true ? setValidTables({}, true) : 0
2074 );

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…