需求:想删除 notify_ 开头的所有key

redis-cli KEYS "notify_*" | xargs redis-cli DEL

通过 notify_* 来匹配

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2021-11-02
  • 2021-08-09
  • 2022-12-23
  • 2023-03-23
  • 2018-09-14
  • 2021-09-27
  • 2022-03-05
相关资源
相似解决方案