1

I want to remove all objects that are stored in Redis via the ServiceStack Redis client. I tried to use the Remove method with "*" as a key but it is not ok. Thanks.

David GROSPELIER
  • 772
  • 1
  • 9
  • 35

1 Answers1

0

If you want to clear all data on the Redis instance you can use:

redis.FlushAll();

Or if you just want to clear the DB you're on:

redis.FlushDb();
mythz
  • 141,670
  • 29
  • 246
  • 390