You would be better off using the EXISTS command and restructuring your code like: string = 'abcde' if redis.exists(string): do something.
確定! 回上一頁