Feature/mongo 2.6.5 expressions DateToString, DayOfMonth, DayOfWeek, DayOfYear, Millisecond, Minute, Month, Second, Week, Year

Made the other classes use the FixedArityExpressionT class template with the appropriate number of arguments.

All these date classes implement an extract function and have been updated to Mongo 2.6.5.

May still require more test code.

DateToString is not a part of this.  It has been removed, though it is in a previous commit on this branch.
?I can't seem to find this now.  But I merged expressions into this branch, so maybe the merge annihilated that debugger statement?


________________________________
From: Kyle P Davis <notifications@github.com>
Sent: Friday, October 31, 2014 10:03 AM
To: RiveraGroup/mungedb-aggregate
Cc: Jason Walton
Subject: Re: [mungedb-aggregate] Feature/mongo 2.6.5 expressions DateToString, DayOfMonth, DayOfWeek, DayOfYear, Millisecond, Minute, Month, Second, Week, Year (#27)


In lib/pipeline/expressions/Expression.js:

> @@ -210,6 +210,7 @@ klass.parseExpression = function parseExpression(exprElementKey, exprElementValu
>       if (!(exprElementKey in Expression.expressionParserMap)) {
>               throw new Error("Invalid operator : " + exprElementKey + "; code 15999");
>       }
> +     debugger


Forgot to remove a debugger
:-/

-
Reply to this email directly or view it on GitHub<https://github.com/RiveraGroup/mungedb-aggregate/pull/27/files#r19667907>.