首页 > 技术文章 > php redis 获取指定前缀的所有key
sdgf 2016-12-22 20:20 原文
以laravel框架为例:
$key = $this->redis->keys('db:shipping:shippingId:' . "*");