|
@@ -59,7 +59,6 @@ proto.serialize = function(rawValue){
|
|
|
//TODO: proto.addToBsonObj --- may be required for $project to work -- my hope is that we can implement toJSON methods all around and use that instead
|
|
//TODO: proto.addToBsonObj --- may be required for $project to work -- my hope is that we can implement toJSON methods all around and use that instead
|
|
|
//TODO: proto.addToBsonArray
|
|
//TODO: proto.addToBsonArray
|
|
|
|
|
|
|
|
-
|
|
|
|
|
/** Register Expression */
|
|
/** Register Expression */
|
|
|
-Expression.registerExpression("$const",ConstantExpression.parse);
|
|
|
|
|
-Expression.registerExpression("$literal", ConstantExpression.parse); // alias
|
|
|
|
|
|
|
+Expression.registerExpression("$const",proto.parse);
|
|
|
|
|
+Expression.registerExpression("$literal", proto.parse); // alias
|