📜  redis 从 set 切换到 intset - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:16.178000             🧑  作者: Mango

代码示例1
Redis can NOT do that,
simply create dedicated Redis object and set serialize to NONE

$redpint=    new \Redis(); //special Redis object for integer only
$redpint->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_NONE);