delTablesSchema
The delTablesSchema method lets you remove the TablesSchema of the Store.
delTablesSchema(): this| returns | this | A reference to the |
|---|
Example
This example removes the TablesSchema of a Store.
import {createStore} from 'tinybase';
const store = createStore().setTablesSchema({
pets: {species: {type: 'string'}},
});
store.delTablesSchema();
console.log(store.getTablesSchemaJson());
// -> '{}'
Since
v1.0.0