Преглед изворни кода

EAGLESIX-2651: SetUnion: add missing isAssociativeAndCommutative getter

Kyle P Davis пре 11 година
родитељ
комит
11f40b0c78
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      lib/pipeline/expressions/SetUnionExpression.js

+ 4 - 0
lib/pipeline/expressions/SetUnionExpression.js

@@ -38,3 +38,7 @@ Expression.registerExpression("$setUnion", base.parse);
 proto.getOpName = function getOpName() {
 	return "$setUnion";
 };
+
+proto.isAssociativeAndCommutative = function isAssociativeAndCommutative() {
+	return true;
+};