Is there a way to clear a model in the data store of ember? I don’t want to delete records but only clear my data store cache.
Thanks
Is there a way to clear a model in the data store of ember? I don’t want to delete records but only clear my data store cache.
Thanks
You can use the store.unloadAll(type);
where type is the model type. For example: store.unloadAll('person');