这家伙有点懒,还没写个性签名!
$Goods::find()->Where('time<'.$time)->asArray()->all(); 你这样写就算不在redis里也不对把?
这个是官方的yiiredis文档里的demo写法。
@╃巡洋艦㊣ ╃巡洋艦㊣ 老大可否帮忙看下呀,感激不尽
$Goods::find()->Where(['<','time',$time])->asArray()->all();
@hebo5485 不行的
HI,我想你可能没看清楚题目。这个是yii\redis下的activerecord