摘要:
redis的五种数据类型之String 1、string类型 一个键最多可以存储512MB 1》SET:设置key对应的value 语法:SET key value[EX seconds]等等 SET testStr1 'this is a test1' SET testStr2 'this is 阅读全文
摘要:
命令返回值 1、状态回复 例如:PING -->PONG SET test 'this is a test' -->OK GET test -->"this is a test" 2、错误回复 我们在输入的时候,一不小心呢就会输错。 例如: 3、整数回复 所谓的整数回复是指: 以integer数值 阅读全文