Node_redis - how to remove a key?

UpTheCreek picture UpTheCreek · Mar 5, 2013 · Viewed 58.9k times · Source

Is there any way to remove/delete an entry by key, using Node_redis? I can't see any such option from the docs..

Answer

himanshu yadav picture himanshu yadav · Jul 17, 2014

You can del use like this:

redis.del('SampleKey');