Saturday 11 April 2015

MGET key1 key2 ... keyn

Syntax
mget key1 key2 ... keyn
    Gets the values of all keys.

127.0.0.1:6379> set var1 10 
OK 
127.0.0.1:6379> set var2 100 
OK 
127.0.0.1:6379> set var3 1000 
OK 
127.0.0.1:6379> mget var1 var2 var3 
1) "10" 
2) "100" 
3) "1000" 


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment