Saturday 11 April 2015

MSET key1 value1 key2 value2 ... keyN valueN

Syntax
MSET key1 value1 key2 value2 ... keyN valueN
     Sets the keys to respecive values.

127.0.0.1:6379> mset var1 10 var2 100 var3 1000 var4 10000 
OK 
127.0.0.1:6379> mget var1 var2 var3 var4 
1) "10" 
2) "100" 
3) "1000" 
4) "10000" 

   
Prevoius                                                 Next                                                 Home

No comments:

Post a Comment