mirror of
https://github.com/predis/predis.git
synced 2026-10-08 12:57:14 +00:00
Examples: bulk update.
This commit is contained in:
@@ -11,7 +11,7 @@ $mkv = array(
|
||||
'usr:0003' => 'Third user'
|
||||
);
|
||||
|
||||
$redis = Predis\Client::create($configurations);
|
||||
$redis = new Predis\Client($single_server);
|
||||
|
||||
$redis->mset($mkv);
|
||||
$retval = $redis->mget(array_keys($mkv));
|
||||
@@ -26,4 +26,4 @@ Array
|
||||
[2] => Third user
|
||||
)
|
||||
*/
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user