Ver Fonte

Reminder for ZUNION.

Daniele Alessandri há 15 anos atrás
pai
commit
0a0afec0ec
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      lib/Predis.php

+ 4 - 0
lib/Predis.php

@@ -2063,6 +2063,10 @@ class ZSetRemove extends \Predis\MultiBulkCommand {
 
 class ZSetUnion extends \Predis\MultiBulkCommand {
     public function getCommandId() { return 'ZUNION'; }
+    public function filterArguments(Array $arguments) {
+        // TODO: add explicit support for AGGREGATE [SUM|MIN|MAX] and WEIGHT
+        return $arguments;
+    }
 }
 
 class ZSetIntersection extends \Predis\MultiBulkCommand {