使用exists 查看键是否存在,可以查询多个,返回存在的个数,所以返回的值为0时表示都不存在. log.info(redis.exists('world')). 1. 使用del 删除键,python 提供的API是 ...
確定! 回上一頁