Nodejs Redis delete all keys including its fields by specific prefix
I have the following piece of code that I am using to delete records from Redis public hdel(hash: string, field?: string) { return new Promise((resolve, reject) => { if (!field) { this.store.del(hash, (err, response) => { if (err) { reject(err);…