Explorar o código

Reminder for ZUNION.

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
0a0afec0ec
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 {