Is there a way to delete all keys in redis using stackexchange.redis?

I am trying to flush my redis database in my unit test setup.

Thanks.

有帮助吗?

解决方案

Basically, it is on IServer.

For reasons and more information, please see Where are KEYS, SCAN, FLUSHDB etc?, which is linked from the project home page, under "Documentation":

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top