Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法使用 stackexchange.redis 删除 redis 中的所有键?
我正在尝试在我的单元测试设置中刷新我的 redis 数据库。
谢谢。
基本上,它在IServer.
IServer
有关原因和更多信息,请参阅、等在哪里?KEYSSCANFLUSHDB,从项目主页链接到“文档”下:
KEYS
SCAN
FLUSHDB