ctstone / csredis

.NET client for Redis and Redis Sentinel (2.8). Includes both synchronous and asynchronous clients.
Other
292 stars 111 forks source link

Can you guys tell me how to execute 'flushall' command with csredis #57

Closed kalinorthWang closed 5 years ago

OmikronTheta commented 5 years ago

There is a FlushAll function that is part of the RedisClient object.

Public Function FlushAll() As String Member of CSRedis.RedisClient Summary: Remove all keys from all databases

Return Values: Status code

On Mon, Jul 15, 2019 at 4:19 AM xscape notifications@github.com wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ctstone/csredis/issues/57?email_source=notifications&email_token=ABPOK4SCQQ5EMLQCMNT64SDP7QXKHA5CNFSM4IDUJE4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7FCDSQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPOK4TQA2DAW2SAJ6NOS5LP7QXKHANCNFSM4IDUJE4A .

kalinorthWang commented 5 years ago

There is a FlushAll function that is part of the RedisClient object. Public Function FlushAll() As String Member of CSRedis.RedisClient Summary: Remove all keys from all databases Return Values: Status code On Mon, Jul 15, 2019 at 4:19 AM xscape @.***> wrote: — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#57?email_source=notifications&email_token=ABPOK4SCQQ5EMLQCMNT64SDP7QXKHA5CNFSM4IDUJE4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7FCDSQ>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPOK4TQA2DAW2SAJ6NOS5LP7QXKHANCNFSM4IDUJE4A .

sorry,I forget to tell u,because i'm developing a ASP.NET Core 2.2 Project, so I used the lib named 'CSRedisCore',and i didn't find a method called ‘FlushAll()’.

kalinorthWang commented 5 years ago

this lib don't support .net core