您现于de位置乃:亚博 > APP学习

亚博 2020-02-18 APP学习 135

Redis5被弃用方法名和替代方法名

app-redis 5以后废弃了1些方法名

被弃用方法名替代方法名
deletedel
zUnionzunionstore
zInterzinterstore
zDeleteRangeByRankzRemRangeByRank
zDeleteRangeByScorezRemRangeByScore
zDeletezRem
setTimeoutexpire
sContainssismember
sRemovesrem
sSizescard
lGetRangelrange
lGetlindex
listTrimltrim
lRemovelrem
lSizelLen
getKeyskeys
getMultiplemget
renameKeyrename


参考:

https://www.drupal.org/project/redis/issues/3068810 this is caused by the update to app-redis 5, apparently only in the APP 7.3 images. 这乃由于更新至 app-redis 5 版本后所造成de 很明显只会于 APP 7.3 出现

https://github.com/appredis/appredis/pull/1588 all aliases are deprecated & delete is an alias for del 所有de别名被弃用 & delete 之前乃作为 del de别名

https://pecl.app.net/package-changelog.app?package=redis&release=5.0.0 Soft deprecate methods that aren't actually Redis commands [a81b4f2d, 95c8aab9] 被弃用de方法实际上并不乃 Redis 本身自带de命令

https://github.com/appredis/appredis/pull/1572


评论