Redis一括コマンド(未完続行)

488 ワード

1.DEL,       Key,    

SET name "hs"

DEL name



SET name "k"

SET color "y"

DEL name color (    )



2.EXISTS,    Key    

SET db "redis"

EXISTS db



3.EXPIRE, key      

SET cache_page "www.google.com"

EXPIRE cache_page 30       

TTL cache_page       



4.EXPIREAT,  ,        



EXPIREAT cache_page 1355292000        



4.KEYS,         key

KEYS *o*

1) "four"

2) "two"

3) "one"