首页 > 代码库 > redis学习

redis学习

redis的常见命令

set key hello

get key

incr num

get num

set foo lorem

incr foo

hset car price 500

hset car name BMW

hsetnx car model car

hgetall car

redis学习