Implemented 6 & 7 (Quantified Expressions) but error when running original query in WebUI
diff --git a/asterix-app/src/main/resources/sdk/static/js/asterix-sdk-stable.js b/asterix-app/src/main/resources/sdk/static/js/asterix-sdk-stable.js
index 5867722..d24bca3 100644
--- a/asterix-app/src/main/resources/sdk/static/js/asterix-sdk-stable.js
+++ b/asterix-app/src/main/resources/sdk/static/js/asterix-sdk-stable.js
@@ -497,7 +497,7 @@
WhereClause.prototype.bind = function(expression) {
- if (expression instanceof BooleanExpression) {
+ if (expression instanceof AExpression) {
this._properties["stack"].push(expression);
}
};
@@ -513,7 +513,7 @@
}
return value;
-}
+};
// LimitClause
@@ -713,3 +713,8 @@
QuantifiedExpression.prototype = Object.create(AExpression.prototype);
QuantifiedExpression.prototype.constructor = QuantifiedExpression;
+
+QuantifiedExpression.prototype.val = function() {
+ var value = AExpression.prototype.val.call(this);
+ return "(" + value + ")";
+};