summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-39694 Implement $regexMatch as syntactic sugar on top of $regexFindArun Banala2019-03-201-1/+10
|
* SERVER-39696 Implement $regexFindAllArun Banala2019-03-201-1/+10
|
* SERVER-39695 Implement $regexFindArun Banala2019-03-131-0/+9
|
* SERVER-15926: Implement $round function and allow a precision argument for ↵Patrick Meredith2019-02-141-3/+11
| | | | | | | | $trunc Closes #1297 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-38176 Compile with /permissive- on MSVC to make the compiler strictly ↵Henrik Edin2019-02-011-2/+2
| | | | standard conformant.
* SERVER-38812 Merge RefCountable improvements for Futures back to common ↵Mathias Stearn2019-01-231-2/+2
| | | | implementation
* SERVER-32930 Add trigonometric expressions to aggregationPatrick Meredith2018-12-221-2/+44
| | | | | | Closes #1287 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-37183 Safer bound for safeNumberLong()Justin Seyster2018-12-071-5/+0
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-35905 Add logic to detect when $out is eligible for an exchangeCharlie Swanson2018-08-241-0/+6
|
* SERVER-25957 Optimize $indexOfArray when array argument is constant.KevinCybura2018-04-261-2/+29
| | | | | | Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com> Closes #1229
* SERVER-33510 Add shorthand syntax for $convertCharlie Swanson2018-03-011-0/+12
|
* SERVER-33174 Prevent catalog storage of new syntax during lower FCVCharlie Swanson2018-02-271-3/+24
| | | | | This will prevent the persistence of expressions introduced in 4.0 while the server is in feature compatibility version (FCV) 3.6.
* SERVER-33173: Make format parameter optional for "$dateToString"Nick Zolnierz2018-02-211-4/+4
|
* SERVER-32736: Add "onError" and "onNull" options to $dateFromStringNick Zolnierz2018-02-211-1/+5
|
* SERVER-32784 Move ExpressionConvert tests to separate file.Justin Seyster2018-02-201-13/+9
|
* SERVER-32784 Add $convert with typecast conversions.Justin Seyster2018-02-151-0/+35
|
* SERVER-33172: Add onNull parameter to $dateToStringNick Zolnierz2018-02-131-3/+5
|
* SERVER-30523: dateFromParts should not reject out-of-range numbers for ↵Nick Zolnierz2018-02-091-8/+14
| | | | date/time properties
* SERVER-31477 Add $trim, $ltrim and $rtrim expressions.Charlie Swanson2018-02-081-0/+68
|
* SERVER-32771: Add format specifier for $dateFromString expressionNick Zolnierz2018-02-051-1/+3
|
* SERVER-32007 Avoid unnecessary intrusive_ptr<Expression> copies in time ↵David Storch2017-11-171-1/+1
| | | | expression evaluation.
* SERVER-32007 Make evaluation of time-related agg expressions thread safe.David Storch2017-11-171-1/+1
|
* SERVER-31664 Fix use after free of OperationContext by ExpressionDate*James Wahlin2017-10-301-2/+4
| | | | | | Addresses the case where a time zone expression lives within a collection validator as part of a $expr expression. In this case, the Expression will outlive the OperationContext it was created under.
* SERVER-31322 Rename year and week field names for $dateToParts and ↵Katherine Walker2017-10-051-2/+2
| | | | $dateFromParts
* SERVER-30989 Expression to match rewrite moduleJames Wahlin2017-09-271-0/+12
| | | | | Introduces a standalone Expression => MatchExpression rewrite module with unit tests.
* SERVER-30399 Add caching for $lookup non-correlated sub-pipeline prefixBernard Gorman2017-09-241-30/+74
|
* SERVER-30524 dateFromParts should expect "millisecond" instead of "milliseconds"Derick Rethans2017-08-081-2/+2
|
* SERVER-29209 Add timezone support to $dateFromStringDerick Rethans2017-07-211-1/+3
|
* SERVER-29208 Add the $dateFromString aggregation operatorDerick Rethans2017-07-131-0/+19
|
* SERVER-28610 Added timezone support (and %z and %Z) to $dateToStringDerick Rethans2017-07-121-2/+4
|
* Revert "SERVER-29208 Add the $dateFromString aggregation operator"Dan Pasette2017-07-111-19/+0
| | | | This reverts commit b8de37d364fcde0ed2c93cdf8f5ed0001663e372.
* SERVER-29208 Add the $dateFromString aggregation operatorDerick Rethans2017-07-111-0/+19
|
* SERVER-30079 Reject empty object as date expression argumentCharlie Swanson2017-07-101-1/+5
|
* ERVER-28611 Add timezone argument for date expressionsCharlie Swanson2017-07-071-85/+261
|
* SERVER-28613: Add $dateToParts and $dateFromParts aggregation framework ↵Derick Rethans2017-06-291-2/+80
| | | | operators
* SERVER-28611 Use UTC TimeZone class for date expressions.Charlie Swanson2017-06-151-53/+0
|
* SERVER-27115 Allow $match to swap across renames expressed using $map.David Storch2017-05-301-3/+50
|
* SERVER-28651 Don't hold Document ref across group iterationsr3.5.7James Wahlin2017-05-091-72/+72
|
* SERVER-28651 Pass agg Variables root doc via Expression::evaluate()James Wahlin2017-05-031-96/+76
|
* SERVER-28651 Move agg var ownership to ExpressionContextJames Wahlin2017-04-291-85/+82
|
* SERVER-27115 extend $match swapping optimization to handle renamed fieldsDavid Storch2017-04-181-0/+4
| | | | | | | | If a field renamed by $project or $addFields is used in a subsequent $match, we can now swap the $match and update it to use the original (or, "renamed from") field name. This allows $match planning to result in better index usage in some cases.
* SERVER-28597 Move agg Variables into separate filesJames Wahlin2017-04-041-123/+1
|
* SERVER-27614 add $$REMOVE agg system variableDavid Storch2017-03-131-5/+22
|
* SERVER-23310 Add aggregation expression $arrayToObjectWan Bachtiar2017-03-071-0/+9
| | | | Signed-off-by: Tess Avitabile <tess.avitabile@mongodb.com>
* SERVER-18794 Add aggregation pipeline expression $objectToArrayWan Bachtiar2017-03-031-0/+8
| | | | | | Closes #1 Signed-off-by: Tess Avitabile <tess.avitabile@mongodb.com>
* SERVER-25535 Remove injectExpressionContext().Charlie Swanson2016-12-161-92/+336
| | | | | | | | | | | | | | | These methods were formally used to propagate a new ExpressionContext to stages, accumulators, or expressions which potentially needed to comparisons. Originally, this was necessary since Pipeline parsing happened outside of the collection lock and thus could not determine if there was a default collation on the collection. This meant that the collation could change after parsing and any operators that might compare strings would need to know about it. We have since moved parsing within the lock, so the collation can be known at parse time and the ExpressionContext should not change. This patch requires an ExpressionContext at construction time, and disallows changing the collation on an ExpressionContext.
* SERVER-27201 fix DocumentSourceGraphLookup to correctly propagate ↵David Storch2016-11-301-0/+5
| | | | ExpressionContext
* SERVER-24152 add granularity option to $bucketAutoSally McNichols2016-08-051-0/+4
|