clear
Resets the memory store so it contains nothing.
connection.clear()
Removes all instances and lists being stored in memory.
memoryStore({queryLogic: new QueryLogic()});
cacheConnection.updateInstance({id: 5, name: "justin"});
cacheConnection.getData({id: 5}).then(function(data){
data //-> {id: 5, name: "justin"}
cacheConnection.clear();
cacheConnection.getData({id: 5}).catch(function(err){
err -> {message: "no data", error: 404}
});
});