delSchema
The delSchema
method lets you remove the Schema
of the Store
.
delSchema(): Store
returns | Store | A reference to the Store. |
---|
This example removes the Schema
of a Store
.
const store = createStore().setSchema({pets: {species: {type: 'string'}}});
store.delSchema();
console.log(store.getSchemaJson());
// -> '{}'