mirror of
https://github.com/predis/predis.git
synced 2026-10-10 05:47:02 +00:00
Added support for MSET command (#1610)
* Added support for MSET command * Codestyle fixes
This commit is contained in:
committed by
GitHub
parent
f4dcf6ce57
commit
ce853ecec2
@@ -301,6 +301,10 @@ class KeyPrefixProcessorTest extends PredisTestCase
|
||||
['foo', 'bar', 'hoge', 'piyo'],
|
||||
['prefix:foo', 'bar', 'prefix:hoge', 'piyo'],
|
||||
],
|
||||
['MSETEX',
|
||||
[['key' => 'value', 'key1' => 'value', 'key2' => 'value'], 'NX', 'EX', 10],
|
||||
[3, 'prefix:key', 'value', 'prefix:key1', 'value', 'prefix:key2', 'value', 'NX', 'EX', 10],
|
||||
],
|
||||
['MSETNX',
|
||||
['foo', 'bar', 'hoge', 'piyo'],
|
||||
['prefix:foo', 'bar', 'prefix:hoge', 'piyo'],
|
||||
|
||||
Reference in New Issue
Block a user