Added support for MSET command (#1610)

* Added support for MSET command

* Codestyle fixes
This commit is contained in:
Vladyslav Vildanov
2025-11-11 14:49:07 +02:00
committed by GitHub
parent f4dcf6ce57
commit ce853ecec2
6 changed files with 222 additions and 0 deletions
@@ -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'],