Question

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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top